ferrocrypt 0.3.0-beta.1

Recipient-oriented file and directory encryption: passphrase (Argon2id) and X25519 public-key recipients, XChaCha20-Poly1305 STREAM payloads, HKDF-SHA3-256 / HMAC-SHA3-256 key derivation and authentication.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Native v1 recipient schemes.
//!
//! - [`argon2id`] — passphrase recipient (`FORMAT.md` §4.1). Exclusive
//!   mixing policy: must appear alone.
//! - [`x25519`] — X25519 public-key recipient (`FORMAT.md` §4.2).
//!   Public-key-mixable: multiple `x25519` slots allowed in one file.
//!
//! Each scheme owns its body layout, body length, KDF/ECDH wrap-key
//! derivation, file-key seal/open, and scheme-specific validation.
//! Generic recipient framing (the `type_name_len || flags || body_len ||
//! type_name || body` envelope) lives in [`crate::recipient::entry`];
//! mixing-policy enforcement and classification live in
//! [`crate::recipient::policy`].

pub mod argon2id;
pub mod x25519;