[issue27272] random.Random should not read 2500 bytes from urandom

Donald Stufft report at bugs.python.org
Wed Jun 8 18:23:44 EDT 2016


Donald Stufft added the comment:

One of the key take aways though is that MT doesn't really *need* to be initialized with a CSPRNG, all it needs it some moderately random data. So we can eliminate the case all together by just not using it. Though a sticking point is that it's documented to seed itself from os.urandom if seed(None) is called.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27272>
_______________________________________


More information about the Python-bugs-list mailing list