Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Reader io.Reader
Reader is a globally accessible PRNG (pseudo random number generator) instance
Functions ¶
This section is empty.
Types ¶
type Rand ¶
type Rand struct {
// contains filtered or unexported fields
}
Rand implements a PRNG based on a sha3.ShakeHash every read from which will update the internal seed as seed := hash(seed)
func (*Rand) Init ¶
Init resets the PRNG with the provided seed so as to recover it to a deterministic state
Click to show internal directories.
Click to hide internal directories.