[Python-Dev] Hash collision security issue (now public)

Guido van Rossum guido at python.org
Sun Jan 1 05:22:47 CET 2012

On Sat, Dec 31, 2011 at 9:11 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> 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?

Hm, you're right, that's no longer a concern. (Though ATM the hashes still
*are* compatible.)

> Merry hashes, weakrefs and thread-local memoryviews to everyone!


--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20111231/0f2d1b9f/attachment.html>

More information about the Python-Dev mailing list