[Python-Dev] Hash randomization for which types? (original) (raw)
Stephen J. Turnbull stephen at xemacs.org
Wed Feb 17 08:34:33 EST 2016
- Previous message (by thread): [Python-Dev] Hash randomization for which types?
- Next message (by thread): [Python-Dev] Hash randomization for which types?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Christoph Groth writes:
Stephen J. Turnbull wrote:
Yes. There's only one hash function used, which operates on byte streams IIRC. That function now has a random offset. The details of hashing each type are in the serializations to byte streams.
Could you please elaborate? Numbers are not hashed as byte streams,
Just a stupid mistake on my part. Should have reviewed the code first. I'll shut up now, take my fly meds, get some sleep, drink coffee in the morning, and then take an axe to my keyboard. :-(
Steve
- Previous message (by thread): [Python-Dev] Hash randomization for which types?
- Next message (by thread): [Python-Dev] Hash randomization for which types?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]