Safe Haskell | None |
---|
- 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
PBKDF | |
|
the HMAC function and its underlying HASH function
PRF | |
|
pbkdf1 :: PBKDF -> ByteStringSource
the pbkdf1_ core function
pbkdf2 :: PBKDF -> ByteStringSource
the pbkdf2_ core function