News for hackers. Stuff that matters.
Re:Random in the wild by sarciszewski on Tuesday December 09, 2014 @03:11PM (#8725358)
> There are all kinds of apps that might not need crypto quality randomness, but do at least need the random number streams to be different between invocations of the program!

If you need high quality randomness, you probably should use urandom. If no where else, when the program is first executed.

And if you're on Windows: https://github.com/php/php-src/blob/e6ea376a91514c59d21f4b53...

Re:Random in the wild by pbsd on Tuesday December 09, 2014 @04:06PM (#8725739)
On Windows, the easy way is to call `rand_s`: http://msdn.microsoft.com/en-us/library/sxtz2fa8.aspx