License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | Good |
Safe Haskell | None |
Language | Haskell98 |
Crypto.PubKey.MaskGenFunction
Description
- type MaskGenAlgorithm = HashFunction -> ByteString -> Int -> ByteString
- mgf1 :: MaskGenAlgorithm
Documentation
type MaskGenAlgorithm #
Arguments
= HashFunction | hash function to use |
-> ByteString | seed |
-> Int | length to generate |
-> ByteString |
Represent a mask generation algorithm
Mask generation algorithm MGF1