Subject: Re: creating random files
To: Manuel Bouyer <firstname.lastname@example.org>
From: Michael Graff <email@example.com>
Date: 03/08/1999 16:45:49
Manuel Bouyer <firstname.lastname@example.org> writes:
> Ok, but ... what's the difference between /dev/random and /dev/urandom ?
> I counldn't find a man page for it.
/dev/random is "good" random. /dev/urandom will degrade to a PRNG
regardless of entropy pool feeding.
What I'd do is this:
o read some bytes from /dev/urandom
o Use those in a PRNG as simple as this:
val = SHA1(state);
state = val;