[New-bugs-announce] [issue15213] _PyOS_URandom documentation
Christian Heimes
report at bugs.python.org
Thu Jun 28 02:57:03 CEST 2012
New submission from Christian Heimes <lists at cheimes.de>:
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.
----------
assignee: docs at python
components: Documentation
messages: 164218
nosy: christian.heimes, docs at python, haypo, pitrou
priority: low
severity: normal
status: open
title: _PyOS_URandom documentation
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15213>
_______________________________________
More information about the New-bugs-announce
mailing list