Skip to main content

Module pbkdf2_sha2

Module pbkdf2_sha2 

Source
Expand description

pbkdf2-sha2 derivation parameterization (RFC 8018 over HMAC-SHA-2).

This module mints no keys: prepare yields a DeriveInput, consumed through DeriveInput::derive_bits or a target interface’s derive_key.

Enums§

Sha2Variant
The SHA-2 variants: FIPS 180-4 closes this set, so it is an enum. (Each algorithm interface names its closed set of parameterizations <algorithm>-variant.)

Functions§

prepare
Parameterize a PBKDF2 derivation over an imported password.