package
6.0.0
Repository: https://github.com/tuneinsight/lattigo.git
Documentation: pkg.go.dev

# Functions

NewKeyedPRNG creates a new instance of KeyedPRNG.
NewPRNG creates KeyedPRNG keyed from rand.Read for instances were no key should be provided by the user.
RandComplex128 returns a random complex with the real and imaginary part between min and max.
RandFloat64 returns a random float between min and max.
RandInt generates a random Int in [0, max-1].
RandUint64 return a random value between 0 and 0xFFFFFFFFFFFFFFFF.

# Structs

KeyedPRNG is a structure storing the parameters used to securely and deterministically generate shared sequences of random bytes among different parties using the hash function blake2b.

# Interfaces

PRNG is an interface for secure (keyed) deterministic generation of random bytes.