Expand description
High-level decryption facade.
Core API: decrypt(password, input, output)? for full file handling.
Helpers: read_file_version, extract_session_data, StreamConfig for custom flows.
Enums§
Functions§
- consume_
all_ extensions - Consume all v2+ extensions (zero-copy skip)
- decrypt
- Decrypt an Aescrypt file (v0–v3) — zero secret exposure, maximum security
- decrypt_
ciphertext_ stream - extract_
session_ data - Extract session IV + key — secure from first byte
- read_
exact_ span - Read exactly
Nbytes into a stack-allocated[u8; N]. - read_
file_ version - Validate file magic
"AES"+ version byte (0–3 supported) - read_
kdf_ iterations - Read KDF iterations (v3+ only). Returns 0 for older versions.
- read_
reserved_ modulo_ byte - Read the reserved/modulo byte (v0–v2: modulo, v3: reserved)