go/doc/next/6-stdlib/99-minor/testing/cryptotest/70942.md

5 lines
239 B
Markdown
Raw Normal View History

The new [SetGlobalRandom] function configures a global, deterministic
cryptographic randomness source for the duration of the test. It affects
crypto/rand, and all implicit sources of cryptographic randomness in the
`crypto/...` packages.