[issue13703] Hash collision security issue

STINNER Victor report at bugs.python.org
Wed Jan 4 04:08:15 CET 2012


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

I read that the attack cannot be computed with actual computers (it's too expensive) against Python 64 bits. I tried to change str.__hash__ in Python 32 bits to compute the hash in 64 bits and than truncate the hash to 32 bits: it doesn't change anything, the hash values are the same, so it doesn't improve the security.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13703>
_______________________________________


More information about the Python-bugs-list mailing list