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 generator generating bytes => see 
issue #12754.

----------
components: Extension Modules
messages: 143215
nosy: haypo
priority: normal
severity: normal
status: open
title: crypt.mksalt: use ssl.RAND_pseudo_bytes() if available
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12858>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to