This repository contains all the Rust code examples from the Sealed in Rust book — a hands-on guide to learning modern cryptography in Rust.
Each chapter in the book maps to a corresponding Rust module in this crate: You can explore each module independently to study, test, and benchmark the code.
Run all tests:
cargo test📊 Run benchmarks:
cargo benchBenchmarks use the criterion crate and live under /benches.
This crate aims to:
- Reinforce cryptographic theory with practical Rust code
- Teach idiomatic Rust via real-world crypto examples
- Serve as a companion tool for experimentation, debugging, and benchmarking
Rust 1.70+ (Stable)
cargo bench requires the criterion dev-dependency
MIT OR Apache-2.0 Use it, fork it, learn with it. Crypto for builders.
Built with ❤️ by VinEckSie – follow for updates, tutorials, and more Rust crypto content.