LoupVaillant / Monocypher

An easy to use, easy to deploy crypto library
https://monocypher.org
Other
614 stars 81 forks source link

Recommend BCryptGenRandom on Windows #108

Closed fscoto closed 6 years ago

fscoto commented 6 years ago

CryptGenRandom is deprecated. The replacement seems to be BCryptGenRandom.

See https://docs.microsoft.com/en-us/windows/desktop/api/wincrypt/nf-wincrypt-cryptgenrandom:

Important This API is deprecated. New and existing software should start using Cryptography Next Generation APIs. Microsoft may remove this API in future releases.

LoupVaillant commented 6 years ago

Good catch, thanks!