| Safe Haskell | None |
|---|
Crypto.PBKDF.Core
- sha1PBKDF :: String -> String -> Int -> Int -> PBKDF
- sha256PBKDF :: String -> String -> Int -> Int -> PBKDF
- sha512PBKDF :: String -> String -> Int -> Int -> PBKDF
- pbkdf :: PRF -> String -> String -> Int -> Int -> PBKDF
- data PBKDF = PBKDF {
- pbkdf_PRF :: PRF
- pbkdf_P :: ByteString
- pbkdf_S :: ByteString
- pbkdf_c :: Int
- pbkdf_dkLen :: Int
- data PRF = PRF {
- prf_hmac :: ByteString -> ByteString -> ByteString
- prf_hash :: ByteString -> ByteString
- prf_hLen :: Int
- pbkdf1_ :: PBKDF -> ByteString
- pbkdf2_ :: PBKDF -> ByteString
Documentation
pbkdf :: PRF -> String -> String -> Int -> Int -> PBKDFSource
construct a PBKDF generator from a HMAC function
PBKDF generator parameters
Constructors
| PBKDF | |
Fields
| |
the HMAC function and its underlying HASH function
Constructors
| PRF | |
Fields
| |
pbkdf1_ :: PBKDF -> ByteStringSource
the pbkdf1_ core function
pbkdf2_ :: PBKDF -> ByteStringSource
the pbkdf2_ core function