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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 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)