[issue15213] _PyOS_URandom documentation
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
nosy: christian.heimes, docs at python, haypo, pitrou
title: _PyOS_URandom documentation
versions: Python 3.3
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list