package
1.0.0
Repository: https://github.com/operatorfoundation/obfs4.git
Documentation: pkg.go.dev

# Functions

NewHashDrbg makes a HashDrbg instance based off an optional seed.
NewSeed returns a Seed initialized with the runtime CSPRNG.
SeedFromBytes creates a Seed from the raw bytes, truncating to SeedLength as appropriate.
SeedFromHex creates a Seed from the hexdecimal representation, truncating to SeedLength as appropriate.

# Constants

SeedLength is the length of the HashDrbg seed.
Size is the length of the HashDrbg output.

# Structs

HashDrbg is a CSDRBG based off of SipHash-2-4 in OFB mode.

# Type aliases

InvalidSeedLengthError is the error returned when the seed provided to the DRBG is an invalid length.
Seed is the initial state for a HashDrbg.