cryptonite-0.21: Cryptography Primitives sink

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
PortabilityGood
Safe HaskellNone
LanguageHaskell2010

Crypto.PubKey.MaskGenFunction

Description

 

Synopsis

Documentation

type MaskGenAlgorithm seed output

Arguments

 = seed

seed

-> Int

length to generate

-> output 

Represent a mask generation algorithm

mgf1 :: (ByteArrayAccess seed, ByteArray output, HashAlgorithm hashAlg) => hashAlg -> seed -> Int -> output

Mask generation algorithm MGF1