It seems that using plain C in unix-like systems, fread
from /dev/urandom
is the simplest way to extract high quality random bytes. I need to run a simulation that needs about 10k 32-bit random numbers per second, and it may run for several days. Is /dev/urandom
okay to use for this purpose? How is the quality of random bytes from here when the entropy pool is depleted?
Aucun commentaire:
Enregistrer un commentaire