1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! # Shadow Crypt Core
//!
//! Core layer for shadow_crypt providing types and deterministic operations without side effects.
//!
//! This crate implements version-specific file format and encryption.
//! Algorithm choices may differ across versions.
/// Supported encryption algorithms.
/// Error types for cryptographic operations.
/// Secure memory management with automatic zeroization of sensitive data.
/// Security profiles for different operational contexts.
/// Progress tracking utilities for long-running operations.
/// Reporting structures for encryption and decryption operations.
/// Version 1 implementation of the encryption protocol
///
/// Uses XChaCha20-Poly1305 with Argon2id key derivation.
/// Version 2 implementation of the encryption protocol
///
/// Same algorithms as v1, but authenticates the header via associated data
/// with domain separation between filename and content encryption.
/// Version management for encryption formats.