Versions in this module Expand all Collapse all v1 v1.0.10 Dec 21, 2018 Changes in this version + const SEED_LENGTH + func Base64String(byteLength int) string + func Bytes(length int) []byte + func FlipCoin() bool + func FlipWeightedCoin(weight float64) bool + func HexString(byteLength int) string + func Int63() int64 + func Int63n(n int64) int64 + func Intn(n int) int + func Jitter(n int64, factor float64) int64 + func JitterDuration(d time.Duration, factor float64) time.Duration + func Padding(minLength, maxLength int) []byte + func Period(min, max time.Duration) time.Duration + func Perm(n int) []int + func Range(min, max int) int + func Uint64() uint64 + type PRNG struct + func NewPRNG() (*PRNG, error) + func NewPRNGWithSaltedSeed(seed *Seed, salt string) (*PRNG, error) + func NewPRNGWithSeed(seed *Seed) *PRNG + func (p *PRNG) Base64String(byteLength int) string + func (p *PRNG) Bytes(length int) []byte + func (p *PRNG) FlipCoin() bool + func (p *PRNG) FlipWeightedCoin(weight float64) bool + func (p *PRNG) HexString(byteLength int) string + func (p *PRNG) Int63() int64 + func (p *PRNG) Int63n(n int64) int64 + func (p *PRNG) Intn(n int) int + func (p *PRNG) Jitter(n int64, factor float64) int64 + func (p *PRNG) JitterDuration(d time.Duration, factor float64) time.Duration + func (p *PRNG) Padding(minLength, maxLength int) []byte + func (p *PRNG) Period(min, max time.Duration) time.Duration + func (p *PRNG) Perm(n int) []int + func (p *PRNG) Range(min, max int) int + func (p *PRNG) Read(b []byte) (int, error) + func (p *PRNG) Seed(_ int64) + func (p *PRNG) Uint64() uint64 + type Seed [SEED_LENGTH]byte + func NewSeed() (*Seed, error) Incompatible versions in this module v2.0.2+incompatible Mar 5, 2019 v2.0.1+incompatible Feb 21, 2019 v2.0.0+incompatible Dec 21, 2018