mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
5 lines
297 B
Markdown
5 lines
297 B
Markdown
|
|
The random parameter to [Prime] is now ignored.
|
||
|
|
Instead, it now always uses a secure source of cryptographically random bytes.
|
||
|
|
For deterministic testing, use the new [testing/cryptotest.SetGlobalRandom] function.
|
||
|
|
The new GODEBUG setting `cryptocustomrand=1` temporarily restores the old behavior.
|