[issue18405] crypt.mksalt() result has unnecessarily low entropy

STINNER Victor report at bugs.python.org
Mon Jul 22 21:11:43 CEST 2013


STINNER Victor added the comment:

I prefer to avoid conversion to/from base64, and use random.choice() instead: see attached patch.

----------
keywords: +patch
nosy: +haypo
Added file: http://bugs.python.org/file31018/crypt_salt_choice.patch

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


More information about the Python-bugs-list mailing list