/dev/random usually contains really good random numbers, but reading it could block your scripts by seconds or even minutes if the machine is low on entropy.
/dev/urandom is much faster, but contains less "real" entropy. So /dev/urandom or the last state from rand before setting the seed should be OK.
In reply to Re^3: A reproducible shuffle? ("stable shuffle")
by moritz
in thread A reproducible shuffle? ("stable shuffle")
by AK108
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |