8 Nov
2017
8 Nov
'17
1:45 a.m.
Steven Watanabe wrote:
On 11/06/2017 06:17 AM, James E. King, III via Boost wrote:
Is there an existing PRNG in Boost.Random that would be better than mersenne to use in a "bulk" uuid generator typedef?
Boost.Random does not have any cryptographic prngs (apart from random_device).
I came across https://gist.github.com/orlp/32f5d1b631ab092608b1 in the course of reading http://www.pcg-random.org/posts/on-trivial-predictability.html ChaCha20 looks like a reasonable candidate for Boost.Random, and the license of Orson Peters's implementation seems Boost-compatible.