Versions in this module Expand all Collapse all v0 v0.23.2 Feb 12, 2024 Changes in this version + const PrintableKeyAlphabet + func FastInt63() int64 + func FastUint32() uint32 + func NewLockedPseudoRand() (*rand.Rand, int64) + func NewLockedSource(seed int64) rand.Source + func NewLockedTestRand() (*rand.Rand, int64) + func NewPseudoRand() (*rand.Rand, int64) + func NewPseudoSeed() int64 + func NewTestRand() (*rand.Rand, int64) + func NewTestRandWithSeed(seed int64) *rand.Rand + func RandBytes(r *rand.Rand, size int) []byte + func RandDuration(r *rand.Rand, max time.Duration) time.Duration + func RandInt63InRange(r *rand.Rand, min, max int64) int64 + func RandIntInRange(r *rand.Rand, min, max int) int + func RandString(rng *rand.Rand, length int, alphabet string) string + func RandUint64n(r *rand.Rand, n uint64) uint64 + func ReadTestdataBytes(r *rand.Rand, arr []byte) + func SeedForTests()