Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> /dev/random is the blocking pseudorandom number generator in Unix-like operating systems and it provides only the entropy that can be obtained from environmental noise. I don't see how it can work any other way.

There is no reason to block; there isn't even any good way to estimate the entropy of environmental noise.

The only sane thing to do is to seed a CSPRNG with environmental noise, reseed with environmental noise as available, and never block.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: