Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read
deprecated
Read generates len(p) random bytes from the default [Source] and writes them into p. It always returns len(p) and a nil error. Read, unlike the [Rand.Read] method, is safe for concurrent use.
Deprecated: For almost all use cases, crypto/rand.Read is more appropriate. If a deterministic source is required, use math/rand/v2.ChaCha8.Read.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.