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

Stefan Krah skrah at bytereef.org
Wed Sep 9 21:33:16 CEST 2015


Steven D'Aprano <steve at ...> writes:
> Question, aimed at anyone, not necessarily random832 -- one desirable 
> property of PRNGs is that you can repeat a sequence of values if you 
> re-seed with a known value. Does arc4random keep that property? I think 
> that it is important that the default RNG be deterministic when given a 
> known seed. (I'm happy for the default seed to be unpredictable.)

I think the removal of MT wasn't proposed (at least not by Theo).
So we'd still have deterministic sequences in addition to
arc4random.



Stefan Krah






More information about the Python-ideas mailing list