[Python-Dev] Hash collision security issue (now public)
lists at cheimes.de
Sun Jan 1 16:56:19 CET 2012
Am 01.01.2012 05:11, schrieb Antoine Pitrou:
> On Sat, 31 Dec 2011 16:56:00 -0700
> Guido van Rossum <guido at python.org> wrote:
>> ISTM the only reasonable thing is to have a random seed picked very early
>> in the process, to be used to change the hash() function of
>> str/bytes/unicode (in a way that they are still compatible with each other).
> Do str and bytes still have to be compatible with each other in 3.x?
py3k has tests for hash("ascii") == hash(b"ascii"). Are you talking
about this invariant?
More information about the Python-Dev