3 ms·
On Linux, the need for hardware sources became more visible because of this: "/dev/random vs /dev/urandom" http://www.onkarjoshi.com/blog/191/device-dev-random
by acqq 15y ago
On Linux, the need for hardware sources became more visible because of this:
"/dev/random vs /dev/urandom"
http://www.onkarjoshi.com/blog/191/device-dev-random-vs-urandom/ http://www.onkarjoshi.com/blog/191/device-dev-random-vs-uran...
/dev/random is hardware entropy dependent, and if application users use it too much (and we all know that many application developers don't do what's minimal stress for hardware or what's optimal "I just make it fast, it works for me"), every such application can block too often. Especially servers are problematic because you can't accumulate the entropy by measuring keyboard or whatever. That's why Intel made RdRand. And their competitors made some similar solutions even before that.
Good detailed discussion also on:
http://en.wikipedia.org/wiki//dev/random http://en.wikipedia.org/wiki//dev/random
In short, hardware RNG in the CPU is a very good thing.
Of course, whoever doesn't need cryptographically secure randomness should anyway just use plain old pure software pseudorandom number generator:
http://en.wikipedia.org/wiki/Pseudorandom_number_generator http://en.wikipedia.org/wiki/Pseudorandom_number_generator
- marshray 15y agoln -sf /dev/urandom /dev/random OpenSSL, OpenBSD, and FreeBSD agree with me.