Skip to content

This repository contains all the Rust code examples from the Sealed in Rust book — a hands-on guide to learning modern cryptography in Rust.

VinEckSie/sealed-in-rust-book-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Sealed in Rust – Book Code

This repository contains all the Rust code examples from the Sealed in Rust book — a hands-on guide to learning modern cryptography in Rust.

📚 Structure

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.

🚀 Running Examples

Run all tests:

cargo test

📊 Run benchmarks:

cargo bench

Benchmarks use the criterion crate and live under /benches.

🧠 Goals

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

🛠️ Requirements

Rust 1.70+ (Stable)

cargo bench requires the criterion dev-dependency

🧩 License

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.

About

This repository contains all the Rust code examples from the Sealed in Rust book — a hands-on guide to learning modern cryptography in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages