Boost logo

Boost :

Subject: Re: [boost] Boost.Uuid and header-only support
From: Peter Dimov (lists_at_[hidden])
Date: 2017-11-08 01:45:21


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.


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