Skip to main content

Module crypto

Module crypto 

Source
Expand description

Cryptographic utilities shared across crates.

Houses password-based key-derivation parameters and related helpers that are embedded into snapshot metadata when encryption is enabled. Cryptographic utilities for Hexz snapshot encryption.

Defines key-derivation parameters (PBKDF2 salt and iteration count) used when creating or opening encrypted snapshots. These parameters are serialized into snapshot metadata so that the same password reproduces the same key on restore.

Structsยง

KeyDerivationParams
Parameters for deriving an encryption key from a user-supplied secret.