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

/dev/urandom is pretty slow on Linux. OpenSSL's CSPRNG is several times faster. On my workstation just now, I get 13MB/sec from /dev/urandom and 61MB/sec from OpenSSL's CSPRNG.

You can't just add the parent pid because that information is lost when the process's parent exits (the ppid becomes 1).



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

Search: