Versions in this module Expand all Collapse all v1 v1.3.0 Aug 17, 2024 Changes in this version + const MaxAdditionalInputLength + const MaxLength + const MaxNoOfBytesPerRequest + const MaxPersonalizationStringLength + const ReseedInterval + func GetSecurityStrengthBits(requested_strength int) int + type State struct + Key []byte + New func() hash.Hash + PredictionResistanceRequest bool + ReseedCounter uint64 + ReseedInterval uint64 + V []byte + func Instantiate(h func() hash.Hash, entropyInput, nonce, personalizationString []byte, ...) *State + func (state *State) Generate(dst []byte, fnEntropyInput func() ([]byte, error), additionalInput []byte) error + func (state *State) Reseed(entropyInput, additionalInput []byte) + func (state *State) Update(providedData ...[]byte)