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

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Sep 10 01:23:13 CEST 2015


Steven D'Aprano wrote:
> 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?

Another property that's important for some applications is
to be able to efficiently "jump ahead" some number of steps
in the sequence, to produce multiple independent streams of
numbers. It would be good to know if that is possible with
arc4random.

-- 
Greg


More information about the Python-ideas mailing list