[issue12858] crypt.mksalt: use ssl.RAND_pseudo_bytes() if available

2013-01-02 Thread STINNER Victor
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

[issue12858] crypt.mksalt: use ssl.RAND_pseudo_bytes() if available

2011-08-30 Thread STINNER Victor
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

[issue12858] crypt.mksalt: use ssl.RAND_pseudo_bytes() if available

2011-08-30 Thread Éric Araujo
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