Show HN: Rscrypto, pure-Rust crypto with industry leading public benches
Rscrypto is a pure Rust cryptography library that offers a variety of cryptographic primitives. It is designed for projects that prioritize binary size, deployment control, and speed without relying on external libraries like OpenSSL. The library features a portable Rust backend and supports various hardware architectures with optimized performance benchmarks.
- ▪Rscrypto includes primitives for RSA, Ed25519, X25519, AEADs, hashes, and more.
- ▪The library allows users to select specific features to minimize binary size and complexity.
- ▪Current benchmarks show rscrypto outperforming many external libraries in speed across different platforms.
Opening excerpt (first ~120 words) tap to expand
rscrypto Pure Rust cryptography: RSA, Ed25519, X25519, AEADs, hashes, KDFs, password hashing, CRCs, no_std, WASM, and hardware acceleration in one dependency. rscrypto is a single primitive stack for projects that care about binary size, deployment control, and speed without a mandatory C, OpenSSL, or system lib story. Use one leaf feature for one primitive, a group for a subset of primitives, or full for the whole shebang. The portable Rust backend is always present. SIMD and assembly are only accelerators. Current benchmark scorecards: Linux CI is 1.61x fastest-external geomean with 3,545 / 5,832 wins and 5,210 / 5,832 wins-or-ties. Apple Silicon (MBP M1, macOS/aarch64 local full run) is 1.25x fastest-external geomean with 235 / 463 wins and 450 / 463 wins-or-ties.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.