go/doc/next/6-stdlib/99-minor/crypto/ed25519/70924.md

5 lines
280 B
Markdown
Raw Normal View History

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.