Boost logo

Boost :

Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-03-26 19:14:45


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> "Random Number Functions
> The library includes a secure random number generator, primarily to
> support the random_prime function, but a user-friendly interface is also
> available to developers using the library."
>
> *Mersenne Twister is not a cryptographic PRNG*

Hm, you're right. I didn't realize that it could be predicted after so
few values. I'll re-work that part to use /dev/urandom or RtlGenRandom
directly when they're available.

On systems where they're *not* available, is there a better choice of
generator, given an (unpredictable) user-supplied seed value?
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkutP+UACgkQp9x9jeZ9/wSn8ACgictlL+BVXaSDUMQwKP6iMoPx
xOsAnRuhUNu8RkAzm91SS1pr39yhewEd
=1g3x
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk