News for hackers. Stuff that matters.
Re:Myths about /dev/urandom (2014) by CiPHPerCoder on Thursday January 05, 2017 @10:15PM (#13333625)
The advice on this page is accurate and in line with what cryptography experts will recommend.

That said, if you're looking for more of the how and less of the why: https://paragonie.com/blog/2016/05/how-generate-secure-rando...

Contains snippets and recommendations for C/C++, Erlang, Go, Java, (Browser) JavaScript, .NET, Node.js, PHP, Python, Ruby, and Rust.

Re:Myths about /dev/urandom (2014) by Dylan16807 on Friday January 06, 2017 @10:34AM (#13337028)
Though you're answering a different (more relevant, but different) "how". That's "how do I find a library for random numbers". The article is focused on getting random numbers directly from the Linux kernel, and the "how" there is invoking getrandom(buffer, len, 0).