According to Windows API documentation, the CryptAcquireContext*
function along with CryptGenRandom
as used in src/random.cpp
is deprecated:
Important This API is deprecated. New and existing software should start using Cryptography Next Generation APIs. Microsoft may remove this API in future releases.