STINNER Victor added the comment:
I'm not sure that a salt must be cryptographic. Mersenne Twister should be
enough to generate a salt.
Anyway, ssl.RAND_pseudo_bytes() cannot be used currently and I don't have a
patch, so I prefer to close this issue.
--
resolution: - rejected
New submission from STINNER Victor victor.stin...@haypocalc.com:
A salt doesn't need to be strong random bits, but I'm not sure that Mersenne
Twister is a best candidate to generate salt. It would be nice to use
ssl.RAND_pseudo_bytes() if available.
Problem: implement random.choice() from a
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +jafo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12858
___
___
Python-bugs-list mailing list