cryptonite-0.27: Cryptography Primitives sink
License BSD-style
Stability experimental
Portability Good
Safe Haskell None
Language Haskell2010

Crypto.KDF.BCryptPBKDF

Description

Port of the bcrypt_pbkdf key derivation function from OpenBSD as described at http://man.openbsd.org/bcrypt_pbkdf.3 .

Synopsis

Documentation

generate :: ( ByteArray pass, ByteArray salt, ByteArray output) => Parameters -> pass -> salt -> output Source #

Derive a key of specified length using the bcrypt_pbkdf algorithm.

hashInternal :: ( ByteArrayAccess pass, ByteArrayAccess salt, ByteArray output) => pass -> salt -> output Source #

Internal hash function used by generate .

Normal users should not need this.