Is this secure?
Michael Rudolf
spamfresser at ch3ka.de
Wed Feb 24 16:00:19 EST 2010
Am 24.02.2010 21:06, schrieb mk:
>
> I just posted a comparison with calculating std deviations for various
> methods - using os.urandom, SystemRandom.choice with seeding and without
> seeding.
I saw them
> They all seem to have slightly different distributions.
No they don't. Just run those tests again and you will see that you
cannot put them in any order or behaviour. They are all correct now,
except that you cannot seed SystemRandom, as it is *not* a PRNG (at
least here, it is a wrapper for /dev/random)
Regards,
Michael
More information about the Python-list
mailing list