[issue13703] Hash collision security issue
STINNER Victor
report at bugs.python.org
Thu Jan 5 01:36:11 CET 2012
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
"Since speed is a concern, I think that the proposal to avoid using the random hash for short strings is a good idea."
My proposition only adds two XOR to hash(str) (outside the loop on Unicode characters), so I expect a ridiculous overhead. I don't know yet how hard it is to guess the secret from hash(str) output.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13703>
_______________________________________
More information about the Python-bugs-list
mailing list