Module pbkdf

Module pbkdf 

Source
Expand description

Password-based key derivation using Argon2id.

This module provides secure password-to-key conversion for user-controlled encryption scenarios. Argon2id is the recommended algorithm as it provides resistance against both side-channel and GPU attacks.

Structs§

PasswordKeyDerivation
Password-based key derivation context.

Enums§

KeyDerivationStrength
Strength presets for password-based key derivation.
PbkdfError
Password-based key derivation error.

Functions§

derive_key_from_password
Derive a key from a password with default (Interactive) strength.
derive_key_with_salt
Derive a key from a password with a known salt.
generate_salt
Generate a random salt for use with password-based key derivation.