[issue14621] Hash function is not randomized properly
Christian Heimes
report at bugs.python.org
Sun Oct 21 18:33:51 CEST 2012
Christian Heimes added the comment:
As far as my understanding goes the issue can't be solved with our current hash algorithm. We'd have to use a crypto hash function or at least a hash algorithm that has an increased avalanche effect on the outcome. The current hash algorithm is designed and optimized for speed and not for security. Any other algorithm is going to slow down hashing.
Small strings and strings with lots of NUL bytes may leak too many information, too.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14621>
_______________________________________
More information about the Python-bugs-list
mailing list