joy_crypt/lib.rs
1//! joy-crypt: cryptographic primitives for Joy.
2//!
3//! Leaf crate. Owns Argon2id KDF, AES-256-GCM AEAD, Ed25519 sign/verify,
4//! seed and zone-key wrapping, Job-bound session wraps, and secret
5//! containers. No knowledge of the joy item or auth-token model; that
6//! lives in joy-core.
7//!
8//! See ADR-039 ยง"Crate boundary and dependency direction" for the
9//! decision that fixes joy-crypt as the leaf crate.
10
11#![forbid(unsafe_code)]
12
13pub mod aead;
14pub mod error;
15pub mod identity;
16pub mod kdf;
17pub mod pairwise;
18pub mod session_wrap;
19pub mod wrap;
20pub mod zone;
21
22pub use error::Error;
23pub type Result<T> = std::result::Result<T, Error>;