ferrocrypt 0.3.0-rc.3

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
17
18
//! Local filesystem mechanics unrelated to archive-payload semantics.
//!
//! Owns:
//!
//! - [`atomic`] — no-clobber finalization, the file and directory
//!   durability helpers, and the path-based decrypt-promotion helpers
//!   used on Windows / other non-Linux/macOS targets. Linux/macOS
//!   decrypt promotion is handle-relative in `archive::platform`.
//!   Callers stage their own temporary files; this module requires only
//!   that staging happened in the destination directory.
//! - [`paths`] — general path helpers: special-file-safe input opening,
//!   bounded and staged key-file reads, occupied-path rejection,
//!   encrypted filename derivation, base-name and file-stem extraction,
//!   parent-directory resolution, the `.incomplete` suffix constant, and
//!   user-facing path error mapping.

pub(crate) mod atomic;
pub(crate) mod paths;