mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
5 lines
280 B
Markdown
5 lines
280 B
Markdown
|
|
If the random parameter to [GenerateKey] is nil, GenerateKey now always uses a
|
||
|
|
secure source of cryptographically random bytes, instead of [crypto/rand.Reader]
|
||
|
|
(which could have been overridden). The new GODEBUG setting `cryptocustomrand=1`
|
||
|
|
temporarily restores the old behavior.
|