Subject: Re: [boost] [uuid] Platform-specific UUID generator (was Re: Issue9407: please merge fix)
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-01-18 10:34:43
On Sunday 18 January 2015 17:19:03 Peter Dimov wrote:
> Andrey Semashev wrote:
> > Interestingly, it also mentions UuidCreate of which I didn't know before.
> Based on its description in the documentation, I strongly suspect that
> UuidCreate just calls CryptGenRandom to create a 128 bit random number, then
> sets the UUID type appropriately. Which is, as I argued, what we need to do
> as well.
I don't mind us doing that, with a fallback if CryptGenRandom path fails.
Although CryptGenRandom description doesn't say whether its entropy is
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk