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 ¶
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) ExportSeed ¶
ExportSeed exports the seed for next generation
Click to show internal directories.
Click to hide internal directories.