[racket] Cross-Platform Secure RNG?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12-07-12 02:10, Nick Sivo wrote:
> 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?
I think srfi 27[1] provides what you're looking for.
Marijn
[1]:http://srfi.schemers.org/srfi-27/srfi-27.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk/+4WcACgkQp/VmCx0OL2xc5ACZAfoiZiyBgRPQ/fC92mNrPDjY
uvsAnR1SudG3BX0go3tfMSuUdF2D5Jjp
=8B7a
-----END PGP SIGNATURE-----