[pycrypto] What to do about RandomPool

Paul Hoffman paul.hoffman at gmail.com
Tue Jul 22 09:08:17 CST 2008


On Mon, Jul 21, 2008 at 5:25 PM, Dwayne C. Litzenberger <dlitz at dlitz.net> wrote:
> I'm not sure that PyCrypto is the right place to implement a good RNG,
> anyway.

...much less a bad one. :-)

> Would there be any objection to replacing RandomPool with a simple wrapper
> around os.urandom? A quick benchmark shows that reading from /dev/urandom on
> Linux is about 10-50x faster than using RandomPool.

No objection here.


More information about the pycrypto mailing list