[Python-Dev] Counting collisions for the win (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Fri Jan 20 17:31:17 CET 2012


On Fri, 20 Jan 2012 17:17:24 +0100 Victor Stinner <victor.stinner at haypocalc.com> wrote:

> So I still think we should ditch the paranoia about dictionary order changing, > and fix this without counting.

The randomized hash has other issues: - its security is based on its secret, whereas it looks to be easy to compute it (see more details in the issue)

How do you compute the secret? I see two possibilities:

But the bottom line for me is the following:

Regards

Antoine.



More information about the Python-Dev mailing list