[issue33528] os.getentropy support

David Carlier report at bugs.python.org
Sat May 19 00:18:46 EDT 2018


David Carlier <dcarlier at afilias.info> added the comment:

Those are valid points honestly. OpenBSD's getentropy works that way indeed (getentropy has also been implemented into FreeBSD in the CURRENT branch couple of months ago).
So indeed os.urandom provides already a wrapping usage only this one gives the responsibility to the caller to handle cases when more than 256 bytes at a time.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33528>
_______________________________________


More information about the Python-bugs-list mailing list