News for hackers. Stuff that matters.
Re:How to safely generate a random number by weavejester on Wednesday February 26, 2014 @05:15PM (#7308461)
And urandom is not cross-platform, so if I were going to write a cross-platform library, how would you suggest doing it? By writing an interface to urandom, then an interface to CryptGenRandom (doesn't that require an FFI?), and then manually going through all of the platforms Java can potentially execute on until I can be sure I've covered all my bases?

I'm pretty sure that's going to be more than 5-10 lines of code.

There are no comments on this comment yet.