Message267905
Reading more than 256 bytes from os.urandom() is different than reading 256 bytes or less. For example, see getrandom() and getentropy() manual pages for more details.
random.Random doesn't need a very high quality entropy. The glib library only reads 128 bits from /dev/urandom to initialize the Mersenne Twister RNG for example. |
|
Date |
User |
Action |
Args |
2016-06-08 21:58:16 | vstinner | set | recipients:
+ vstinner, christian.heimes |
2016-06-08 21:58:16 | vstinner | set | messageid: <1465423096.81.0.204885224668.issue27272@psf.upfronthosting.co.za> |
2016-06-08 21:58:16 | vstinner | link | issue27272 messages |
2016-06-08 21:58:16 | vstinner | create | |
|