3 ms·
Why does /dev/urandom use up the nice entropy of /dev/random when it doesn't provide any guarantees anyway? Also, do you mean that/dev/urandom should be used e
by Bromskloss 10y ago
Why does /dev/urandom use up the nice entropy of /dev/random when it doesn't provide any guarantees anyway?
Also, do you mean that/dev/urandom should be used even for cryptographic applications?
- zokier 10y agoYes, /dev/urandom is backed by a CSPRNG, and thus should be used even for cryptographic applications The recent discussion about Ruby SecureRandom has some references about the subject: https://news.ycombinator.com/item?id=11624890 https://news.ycombinator.com/item?id=11624890
- cyphar 10y agoWhat do you mean by "use up the nice entropy"? You can use /dev/urandom for cryptographic applications (in fact _you should_). Here's a nice article about it: http://www.2uo.de/myths-about-urandom/ http://www.2uo.de/myths-about-urandom/
- Bromskloss 10y agoI shall ready your link in full at a later time. For now, is there any problem with using /dev/random other than that it is blocking?