Re:Google confirms Java and OpenSSL crypto PRNG on Android a...
by raverbashing on Thursday August 15, 2013 @07:12AM
(#6217108)
And why /dev/urandom instead of /dev/random?
[ Parent
| on HN ]
Re:Google confirms Java and OpenSSL crypto PRNG on Android a...
by ikawe on Thursday August 15, 2013 @11:14AM
(#6218290)
The entropy needed to generate random numbers is a finite resource. If you don't have enough entropy stored up, /dev/random may block until such a time as it has sufficient entropy.
/dev/urandom reuses existing entropy to produce more pseudo-random numbers. It may be less "random", but will never block.
Re:Google confirms Java and OpenSSL crypto PRNG on Android a...
by raverbashing on Thursday August 15, 2013 @06:40PM
(#6221054)
And that should be a very good reason for using random instead of urandom
I don't want less entropy thank you. If I don't have enough then let's wait until some more become available
I would use urandom if I need random but I don't care about their quality (even though urandom is good most of the time)