3 unstable releases
Uses new Rust 2024
| new 0.1.0 | Mar 2, 2026 |
|---|---|
| 0.0.2 | May 10, 2025 |
| 0.0.1 | Jun 23, 2024 |
#1362 in Cryptography
180KB
3.5K
SLoC
Top-level public API for the Foctet workspace.
This crate re-exports:
corefor framing, key schedule, handshake/rekey, and replay protection.archivefor encrypted single-file and split archive containers.transportfor optional split-stream adapters when thetransportfeature is enabled.
Quick Start
use foctet::{archive, core};
let _wire = core::WIRE_VERSION_V0;
let _chunk_size = archive::DEFAULT_CHUNK_SIZE;
For wire-format details, see SPEC.md in the workspace root.
foctet

Transport-agnostic end-to-end encryption layer for secure data transfer.
Crates
foctet-core: Framing, crypto, handshake/rekey state, replay protection.foctet-archive: Encrypted single-file and split archives with recipient key wrapping.foctet-transport: Thin split-stream adapters.foctet: Top-level re-export crate.
Stability
- Current releases are
0.x; breaking changes may occur while Draft v0 is finalized. - Wire-level changes must update both
SPEC.mdandtest-vectors/. - Stable wire/API compatibility is planned for
v1.
Examples
See examples
Dependencies
~6–24MB
~304K SLoC