# Functions
AllDistinct returns true if all elements in s are distinct, and false otherwise.
BitReverse64 returns the bit-reverse value of the input value, within a context of 2^bitLen.
EqualSliceInt64 checks the equality between two int64 slices.
EqualSliceUint64 checks the equality between two uint64 slices.
EqualSliceUint8 checks the equality between two uint8 slices.
GCD computes the greatest common divisor gcd(a,b) for a,b uint64 variables.
HammingWeight64 returns the hammingweight if the input value.
IsInSliceInt checks if x is in slice.
IsInSliceUint64 checks if x is in slice.
MaxFloat64 returns the maximum value of the input slice of float64 values.
MaxInt returns the maximum value of the input of int values.
MaxSliceUint64 returns the maximum value of the input slice of uint64 values.
MaxUint64 returns the maximum value of the input slice of uint64 values.
MinInt returns the minimum value of the input of int values.
MinUint64 returns the minimum value of the input of uint64 values.
NewBuffer creates a new buffer from the provided backing slice.
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.
RandUint64 return a random value between 0 and 0xFFFFFFFFFFFFFFFF.
RotateComplex128Slice returns a new slice corresponding to s rotated by k positions to the left.
RotateFloat64Slice returns a new slice corresponding to s rotated by k positions to the left.
RotateInt64Slice returns a new slice corresponding to s rotated by k positions to the left.
RotateSlice takes as input an interface slice and returns a new interface slice corresponding to s rotated by k positions to the left.
RotateUint64Slice returns a new slice corresponding to s rotated by k positions to the left.
RotateUint64SliceAllocFree rotates slice s by k positions to the left and writes the result in sout.
RotateUint64SliceInPlace rotates slice s in place by k positions to the left.
RotateUint64Slots returns a new slice corresponding to s where each half of the slice have been rotated by k positions to the left.
# Structs
Buffer is a simple wrapper around a []byte to facilitate efficient marshaling of lattigo's objects.
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.