Boost logo

Boost :

Subject: Re: [boost] [uuid] Platform-specific UUID generator (was Re:Issue9407: please merge fix)
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-18 11:16:49


Andrey Semashev wrote:

> Although CryptGenRandom description doesn't say whether its entropy is
> renewed.

It doesn't actually matter, when the generator is AES counter mode, which is
specified to be the case from Vista SP1 onwards. Before that, it was in
principle possible to attack it as it was RC4 based, but that still required
access to the local machine.

I see, by the way, that boost::random_device is already implemented to use
CryptGenRandom. It requires building though, and Boost.System for the error
reporting.


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