Page MenuHome GnuPG

Transition Windows RNG to use BCryptGenRandom
Open, WishlistPublic


The current implementation of Windows RNG is using a deprecated algorithm (CryptGenRandom). The implementation exists here within random/rndw32.c.

The documentation for the new API's (Cryptography Next Generation) is available here.

The documentation for the new BCryptGenRandom is available here.



Event Timeline

werner triaged this task as Wishlist priority.Jul 23 2018, 2:30 PM
werner added a subscriber: werner.

CryptGenRandom is only used as an additional source of entropy and doesn't count towards our entropy estimation. Thus whether it is used of not does not make any difference. Our main entropy source is meanwhile the jitter based RNG. Thus your request will receive a low priority.

Good to know, no problem, just wanted to document it just in case they do remove the API entirely in the future.