Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tooling Up

Before we dive into cryptographic primitives, here’s a quick look at tools that can support your Rust development journey — especially if you plan to write your own crypto libraries.

None of these tools are required to read or complete the following chapters.
If you already have cargo installed, you’re good to go!

That said, for readers who want to build clean, secure, and testable codebases, these tools are worth bookmarking:

Code Quality

  • rustfmt — auto-formats code to keep it idiomatic
  • clippy — catches common pitfalls and non-idiomatic patterns

Testing & Fuzzing

  • proptest — property-based testing for edge case discovery
  • cargo-fuzz — fuzz testing to uncover panics and vulnerabilities

Security & Auditing

Benchmarking & Debugging

  • Criterion.rs — precise performance benchmarks
  • cargo-expand — view macro-expanded code (useful when using #[derive(...)])

As you gain experience, integrating these tools will help ensure your cryptographic code is not only correct — but robust, maintainable, and audit-friendly.

Try It Yourself

Want to skip the setup and jump right into coding?

👉 Use the Sealed in Rust Starter Template — a minimal Rust project preconfigured with the tools mentioned above.

git clone https://github.com/vinecksie/sealed-starter.git
cd sealed-starter
cargo test