Expand description
EXOCHAIN constitutional trust fabric — end-to-end encrypted messaging.
This crate provides:
- Key exchange (
kex) — X25519 Diffie-Hellman with caller-supplied key material - Message envelopes (
envelope) — Encrypted message container types - Compose & lock (
compose) — Sender-side: encrypt + sign → Lock & Send - Open & verify (
open) — Recipient-side: decrypt + verify signature - Death triggers (
death_trigger) — Afterlife message release state machine
Re-exports§
pub use compose::ComposeMetadata;pub use compose::attach_verified_signature;pub use compose::lock_and_send;pub use compose::lock_and_send_with_ephemeral;pub use compose::prepare_envelope_for_signing;pub use compose::prepare_envelope_for_signing_with_ephemeral;pub use compose::sign_prepared_envelope;pub use envelope::ContentType;pub use envelope::EncryptedEnvelope;pub use error::MessagingError;pub use kex::X25519KeyPair;pub use kex::X25519PublicKey;pub use kex::X25519SecretKey;pub use open::unlock;
Modules§
- compose
- Compose & Lock — sender-side message encryption.
- death_
trigger - Death trigger — afterlife message release state machine.
- envelope
- Encrypted message envelope — the wire format for VitalLock messages.
- error
- Messaging-specific error types.
- kex
- X25519 Diffie-Hellman key exchange for E2E encrypted messaging.
- open
- Open & Verify — recipient-side message decryption.