pbkdf-1.1.1.1: Haskell implementation of the PBKDF functions from RFC-2898.

Safe HaskellNone
LanguageHaskell2010

Crypto.PBKDF.Core

Synopsis

Documentation

sha1PBKDF :: String -> String -> Int -> Int -> PBKDF #

make a SHA-1 parameter blocks (String edition)

sha1PBKDF' :: ByteString -> ByteString -> Int -> Int -> PBKDF #

make a SHA-1 parameter blocks (ByteString edition)

sha256PBKDF :: String -> String -> Int -> Int -> PBKDF #

make a SHA-256 parameter blocks (String edition)

sha256PBKDF' :: ByteString -> ByteString -> Int -> Int -> PBKDF #

make a SHA-256 parameter blocks (ByteString edition)

sha512PBKDF :: String -> String -> Int -> Int -> PBKDF #

make a SHA-512 parameter blocks (String edition)

sha512PBKDF' :: ByteString -> ByteString -> Int -> Int -> PBKDF #

make a SHA-512 parameter blocks (ByteString edition)

pbkdf :: PRF -> String -> String -> Int -> Int -> PBKDF #

construct a PBKDF parameter block for the key generators (String edition)

data PBKDF #

the parameter block for the key generators

Constructors

PBKDF 

Fields

data PRF #

contains the HMAC function and its underlying HASH function, along with the size of the hashes it generates

Constructors

PRF 

Fields

pbkdf1 :: PBKDF -> ByteString #

the pbkdf1 key derivation function

pbkdf2 :: PBKDF -> ByteString #

the pbkdf2 key derivation function