Crypto-4.2.5.2: Common Cryptographic Algorithms in Pure Haskell
Copyright(c) Dominic Steinitz 2003
LicenseBSD-style (see the file libraries/base/LICENSE)
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.Encryption.RSA.MGF

Description

Implements the mask generation function as specified in: ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.pdf

Synopsis

Function Types

mgf :: ([Octet] -> [Octet]) -> [Octet] -> Int -> [Octet] Source #

Take a hash function, a seed and the intended length of the the mask and deliver a mask of the requested length.