View Full Version : /dev/random vs. /dev/urandom
sans-hubris
08-31-2002, 02:23 AM
What's the difference between the two?
Bradmont
08-31-2002, 03:45 AM
/dev/urandom spews out pseudorandom stuff as fast as it can, /dev/random collects system entropy from things like mouse movements and keystrokes. /dev/random is the much more random (and hence more secure) of the two.
Strike
08-31-2002, 03:42 PM
Interesting article on the state of /dev/random currently - http://lwn.net/Articles/8228/
jemfinch
09-10-2002, 12:52 PM
/dev/urandom injects entropy from the entropy pool into its pseudorandom generator when it has it, so it's generally a better source of more randomness than a plain old userspace generator.
Jeremy
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.