I might be wrong but MRG32k3a doesn't seem to have been cryptanalyzed extensively enough to count as cryptographically secure. Probably it isn't.
The crypto library on Planet has random-bytes and random-bytes! that ought to be more secure. (However, I do not know the code OpenSSL uses to gather entropy on different platforms.) The library hasn't been updated for a while. Best, Erich On Thu, 12 Jul 2012 16:38:31 +0200 Marijn <hk...@gentoo.org> wrote: > -----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----- > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users