Versions in this module Expand all Collapse all v0 v0.1.0 Feb 16, 2026 Changes in this version + var ErrInvalidSaltLength = errs.New("salt length is not 8 bytes") + var ErrInvalidSeedLength = errs.New("seed length is not 8 bytes") + type Pcg struct + func New(seed, salt uint64) *Pcg + func NewRandomised() *Pcg + func (*Pcg) New(seed, salt []byte) (prng.SeedablePRNG, error) + func (r *Pcg) Read(p []byte) (int, error) + func (r *Pcg) Seed(seed, salt []byte) error