Re:How to safely generate a random number
by luke-stanley on Tuesday February 25, 2014 @10:31PM
(#7302709)
How do we know there isn't some predictable pattern from common urandom sources?
What is meant to make the state non-predictable anyway?
If I cared about it, someone could just add a library on top of it that combines them with more entropy sources. Like camera noise, temperature changes, audio static etc.
For some reason the author says not to build libraries on top of urandom because they might be hacked.
Well if something has compromised your system anyway, why does that matter?
[ Parent
| on HN ]
Re:How to safely generate a random number
by tptacek on Tuesday February 25, 2014 @11:00PM
(#7302803)
"The urandom sources"? What do you think that means? The code is right there.
Re:How to safely generate a random number
by luke-stanley on Friday February 28, 2014 @04:19PM
(#7321568)
I'm talking about the sources of it's random input, not it's source code.