Safe Haskell | None |
---|---|
Language | Haskell2010 |
- sha1PBKDF1 :: String -> String -> Int -> String
- sha256PBKDF1 :: String -> String -> Int -> String
- sha512PBKDF1 :: String -> String -> Int -> String
- sha1PBKDF2 :: String -> String -> Int -> Int -> String
- sha256PBKDF2 :: String -> String -> Int -> Int -> String
- sha512PBKDF2 :: String -> String -> Int -> Int -> String
Password Based Key Derivation Functions
This module provides stock implementations of the PBKDF functions from RFC-2898 (http://www.ietf.org/rfc/rfc2898.txt), based on the SHA-1, SHA-256 and SHA-256 hash functions. Each function takes the password and salt as a string and returns a hex string. To work with ByteStrings see Crypto.PBKDF.ByteString.