Using SHA1 as RNG

Klaus Alexander Seistrup spam at magnetic-ink.dk
Sat Mar 15 01:56:15 EST 2003


Paul Foley wrote:

> Isn't there an MT-19937 random module?  Use that instead.
> [If not, write one, but I think there is]

Python 2.3 is using the MT-19937 PRNG.  I don't yet know if the
python wrapper is easily portable to Python 2.2, but I'll give
it a try.

Cheers,

  // Klaus

-- 
 ><> 	unselfish actions pay back better




More information about the Python-list mailing list