[Python-ideas] Should our default random number generator be secure?

Sturla Molden sturla.molden at gmail.com
Mon Sep 14 21:07:40 CEST 2015


On 14/09/15 19:15, M.-A. Lemburg wrote:

> I am well aware that MT doesn't satisfy all empirical tests
> and also that it is not a CSPRNG

> However, it has been extensively studied and it is proven to be
> equidistributed which is a key property needed for it to be used as
> basis for other derived probability distributions (as it done by the
> random module).

And with this criterion, only MT and certain PCG generators are 
acceptable. Those are (to my knowledge) the only ones with proven 
equidistribution.


Sturla



More information about the Python-ideas mailing list