Message164218
The comment for Python/random.c:_PyOS_URandom() states
> Fill buffer with size pseudo-random bytes, not suitable for cryptographic use, from the operating random number generator (RNG).
which is not correct as all paths use a RNG that is suitable for most cryptographic purposes except long living private keys for asymmetric encryption.
Also the function isn't documented although it's an official API function and plays a vital role on the new hash randomization. |
|
Date |
User |
Action |
Args |
2012-06-28 00:57:04 | christian.heimes | set | recipients:
+ christian.heimes, pitrou, vstinner, docs@python |
2012-06-28 00:57:03 | christian.heimes | set | messageid: <1340845023.83.0.143337072725.issue15213@psf.upfronthosting.co.za> |
2012-06-28 00:57:03 | christian.heimes | link | issue15213 messages |
2012-06-28 00:57:02 | christian.heimes | create | |
|