Does shuffle() produce uniform result ?

Paul Rubin http
Mon Sep 3 12:52:11 EDT 2007


Antoon Pardon <apardon at forel.vub.ac.be> writes:
> If I understand correctly that you are using urandom as a random
> generator I wouldn't trust too much on this performance. Urandom
> uses the systemwide entropy-pool. If other programs need this pool
> too, your performance can drop spectaculary. 

No the idea is that once there's enough entropy in the pool to make
one encryption key (say 128 bits), the output of /dev/urandom is
computationally indistinguishable from random output no matter how
much data you read from it.



More information about the Python-list mailing list