Re:Web's random numbers are too weak, researchers warn
by Tomte on Sunday August 09, 2015 @12:22PM
(#10030591)
And to make it even more clear: the notion that /dev/urandom first does "the right thing" and then (after entropy has been exhausted) falls back on the "worthless thing" (the CSPRNG) is absolutely and categorically wrong.
Both /dev/urandom and /dev/random always do "the worthless thing".
What people consider "the right thing", namely handing out raw collected random bits without any postprocessing, would even be catastrophic.
/dev/random and /dev/urandom use the same CSPRNG code. There are only two differences: there are separate state pools for them, and /dev/random includes logic to block on requests that exceed an estimator number.