Christian Heimes added the comment:

I'm -1

It doesn't look like OpenSSL's PRNG is much faster than /dev/urandom if Python 
keeps a persistent fd:

$ python3.3 prng.py 
loops: 1000000
bytes: 16
/dev/urandom (fd)        1.2181
os.urandom()             3.2892
RAND_pseudo_bytes        1.2924
RAND_bytes               1.2945

Some crypto experts also say that the PRNG of a stock OpenSSL build is sub par. 
The algorithm is neither standardized by NIST nor carefully developed by a 
cryptographer. FIPS builds of OpenSSL have a better PRNG.

----------
versions: +Python 3.4
Added file: http://bugs.python.org/file31419/prng.py

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

Reply via email to