HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulecrypton-2.1.7Haskell2010

Crypto.KDF.PBKDF2

Password Based Key Derivation Function 2

  • 2 types
  • 9 values
  • Packagecrypton-2.1.7
  • Exports11
  • LanguageHaskell2010
  • LicenceBSD-3-Clause AND MIT AND ISC
  • SourcePBKDF2.hs
typetype PRF password = password -> Bytes -> Bytes
#

The PRF used for PBKDF2

datadata Parameters
#

Parameters for PBKDF2

Constructors

  • Parameters
    • iterCounts :: Int

      the number of user-defined iterations for the algorithms. e.g. WPA2 uses 4000. (must be > 0)

    • outputLength :: Int

      the number of bytes to generate out of PBKDF2 (must not be negative)