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§
- Password
KeyDerivation - Password-based key derivation context.
Enums§
- KeyDerivation
Strength - Strength presets for password-based key derivation.
- Pbkdf
Error - 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.