DRBG-0.5.4: Deterministic random bit generator (aka RNG, PRNG) based HMACs, Hashes, and Ciphers.

Safe Haskell | None
Language | Haskell98

Crypto.Random.DRBG.HMAC

# Documentation

data State d Source

counter :: State d -> Word64 Source

reseedInterval :: Word64 Source

instantiate :: Hash c d => Entropy -> Nonce -> PersonalizationString -> State d Source

reseed :: Hash c d => State d -> Entropy -> AdditionalInput -> State d Source

generate :: Hash c d => State d -> BitLength -> AdditionalInput -> Maybe (RandomBits, State d) Source