Message267905
| Author |
vstinner |
| Recipients |
christian.heimes, vstinner |
| Date |
2016年06月08日.21:58:16 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1465423096.81.0.204885224668.issue27272@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|