AUTO-UPDATED

Show HN: Rscrypto, pure-Rust crypto with industry leading public benches

The rscrypto crate provides a unified, high-performance Rust cryptography library that eliminates dependencies on external C or system libraries while supporting no_std and hardware-accelerated environments.

Key Points

  • Offers a comprehensive primitive stack including RSA, Ed25519, X25519, AEADs, hashes, and password hashing in a single dependency.
  • Features a portable Rust backend as the source of truth, with optional SIMD and assembly acceleration for x86, Arm, Apple Silicon, and RISC-V.
  • Supports granular feature flags, allowing developers to include only necessary primitives to keep binary sizes minimal.
  • Designed for security with constant-time operations, zeroized secret types, and strict arithmetic to prevent common side-channel vulnerabilities.
  • Benchmarks show significant performance gains over existing Rust baselines, with a 1.61x geomean speedup in Linux CI environments.

Why it Matters

By consolidating cryptographic primitives into one modular crate, rscrypto simplifies dependency management and improves security auditing for Rust projects. This approach allows developers to maintain high performance and small binary footprints across diverse platforms, from bare-metal embedded systems to high-scale server environments.
Github.com Published by loadingalias
Read original