<!-- Please answer these questions before submitting your issue. Thanks! --> ### What version of Go are you using (`go version`)? N/A ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are you using (`go env`)? Any release of Windows supported by Microsoft ### What did you do? Reviewing cryptographic protocols for a downstream project ### What did you expect to see? Use of a modern Windows API to retrieve entropy, namely BCryptGenRandom from CryptoNG, which is compliant with CTR_DRBG from NIST SP800-90. ### What did you see instead? Go [calls CryptGenRandom](https://github.com/golang/go/blob/master/src/syscall/syscall_windows.go#L206) from [a deprecated API](https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom). The algorithm is not fully documented and is [only known in part](https://en.wikipedia.org/wiki/CryptGenRandom).