[racket] Cross-Platform Secure RNG?

From: Nick Sivo (nick at kogir.com)
Date: Wed Jul 11 20:10:56 EDT 2012

Hi,

Does there exist in Racket a cross-platform way to generate
cryptographically secure[1] pseudorandom numbers?  Some code I'm
currently working on directly uses /dev/urandom which would be fine if
I wasn't using Windows.  I looked in the openssl bindings and the
racket documentation but didn't find anything.

If it doesn't exist, which of a pull request or a planet package is
more appropriate?

-Nick

[1] Think Win32 CrytoAPI's CryptGenRandom, /dev/urandom, or OpenSSL's
secure PRNG.

Posted on the users mailing list.