Safe Haskell | None |
---|---|
Language | Haskell2010 |
- sha1PBKDF :: String -> String -> Int -> Int -> PBKDF
- sha1PBKDF' :: ByteString -> ByteString -> Int -> Int -> PBKDF
- sha256PBKDF :: String -> String -> Int -> Int -> PBKDF
- sha256PBKDF' :: ByteString -> ByteString -> Int -> Int -> PBKDF
- sha512PBKDF :: String -> String -> Int -> Int -> PBKDF
- sha512PBKDF' :: ByteString -> ByteString -> 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
sha1PBKDF :: String -> String -> Int -> Int -> PBKDF Source
make a SHA-1 parameter blocks (String edition)
sha1PBKDF' :: ByteString -> ByteString -> Int -> Int -> PBKDF Source
make a SHA-1 parameter blocks (ByteString edition)
sha256PBKDF :: String -> String -> Int -> Int -> PBKDF Source
make a SHA-256 parameter blocks (String edition)
sha256PBKDF' :: ByteString -> ByteString -> Int -> Int -> PBKDF Source
make a SHA-256 parameter blocks (ByteString edition)
sha512PBKDF :: String -> String -> Int -> Int -> PBKDF Source
make a SHA-512 parameter blocks (String edition)
sha512PBKDF' :: ByteString -> ByteString -> Int -> Int -> PBKDF Source
make a SHA-512 parameter blocks (ByteString edition)
pbkdf :: PRF -> String -> String -> Int -> Int -> PBKDF Source
construct a PBKDF parameter block for the key generators (String edition)
the parameter block for the key generators
PBKDF | |
|
contains the HMAC function and its underlying HASH function, along with the size of the hashes it generates
PRF | |
|
pbkdf1 :: PBKDF -> ByteString Source
the pbkdf1 key derivation function
pbkdf2 :: PBKDF -> ByteString Source
the pbkdf2 key derivation function