RustCrypto: The Ecosystem of Cryptographic Crates Written in Pure Rust
summary
An overview of the RustCrypto ecosystem: libraries (crates) implementing cryptographic algorithms in pure Rust. It covers the project history, the trade-offs of many small crates versus monolithic libraries, implementing algorithms in Rust versus bindings to C/C++/assembly, crate API design and trait-based modeling of crypto primitive classes, challenges of composing algorithms and writing efficient SIMD code with runtime CPU feature detection, and prospects for RustCrypto as Rust evolves.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 2:29Crypto fundamentals in Rust
- 8:20Crypto libraries overview
- 10:50Ecosystem evolution
- 13:19Organization goals
- 16:14Micro-crates advantages
- 19:04Micro-crates challenges
- 20:49Traits for primitives
- 23:18Hash functions
- 26:34MAC functions
- 28:21Block ciphers
- 31:16Hardware acceleration
- 33:09Block cipher modes
- 36:17Authenticated encryption
- 38:02High-level APIs
- 39:45Future plans
- 42:37Q&A
