Message218290
"The default seeding for the random module currently used 32 bytes from urandom() to create the initial state of the random number generator. This is far less than the number of possible states 2**19937-1."
I suggest to document how the PRNG is initialized instead of reading more bytes from /dev/urandom. |
|
Date |
User |
Action |
Args |
2014-05-11 19:41:49 | vstinner | set | recipients:
+ vstinner, tim.peters, rhettinger, mark.dickinson, pitrou, ezio.melotti, Arfrever, alex, neologix, dstufft |
2014-05-11 19:41:48 | vstinner | set | messageid: <1399837308.94.0.0161769080772.issue21470@psf.upfronthosting.co.za> |
2014-05-11 19:41:48 | vstinner | link | issue21470 messages |
2014-05-11 19:41:48 | vstinner | create | |
|