18 Jan
2015
18 Jan
'15
3:34 p.m.
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 renewed.