awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Modern Rust Cryptography Libraries

Ranking updated Jun 30, 2026

For a Rust cryptography library, the first results are ironcorelabs/recrypt-rs (This Rust library provides modern cryptographic primitives for a specific proxy re-encryption scheme, which fits the search for a modern crypto library, but it is narrower in scope and does not explicitly mention constant-time operations or security audits), dnaq/sodiumoxide (Sodiumoxide is a Rust binding to libsodium that provides modern, safe cryptographic primitives, fitting your need for a Rust cryptography library with misuse-resistant APIs, though it is deprecated and not a pure Rust implementation) and briansmith/ring (This repository, tagged with Rust and Cryptography, is a cryptography library written in Rust that fits the intent for a safe, modern Rust cryptography library, although the sparse description does not confirm specific features like constant-time operations or audit status). rustcrypto/hashes and rustcrypto/aeads round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

High-performance and memory-safe cryptographic primitives for building secure encryption and authentication protocols in Rust.

Modern Rust Cryptography Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • ironcorelabs/recrypt-rsIronCoreLabs avatar

    IronCoreLabs/recrypt-rs

    166View on GitHub↗

    A set of cryptographic primitives for building a multi-hop Proxy Re-encryption scheme, known as Transform Encryption.

    This Rust library provides modern cryptographic primitives for a specific proxy re-encryption scheme, which fits the search for a modern crypto library, but it is narrower in scope and does not explicitly mention constant-time operations or security audits.

    RustRust Cryptography
    View on GitHub↗166
  • dnaq/sodiumoxidednaq avatar

    dnaq/sodiumoxide

    645View on GitHub↗

    DEPRECATED Sodium Oxide: Fast cryptographic library for Rust (bindings to libsodium)

    Sodiumoxide is a Rust binding to libsodium that provides modern, safe cryptographic primitives, fitting your need for a Rust cryptography library with misuse-resistant APIs, though it is deprecated and not a pure Rust implementation.

    RustCryptographyRust Cryptography
    View on GitHub↗645
  • briansmith/ringbriansmith avatar

    briansmith/ring

    4,091View on GitHub↗

    Ring is a low-level cryptographic primitive library and security toolset designed for building portable, secure applications. It provides a collection of implementations for RSA, elliptic curve cryptography, and authenticated symmetric encryption. The project focuses on constant-time cryptography to prevent secret data from leaking through timing side-channel attacks. It utilizes a formal verification tool that generates arithmetic logic from templates, ensuring mathematical correctness and eliminating manual implementation errors. The library includes capabilities for producing cryptographi

    This repository, tagged with Rust and Cryptography, is a cryptography library written in Rust that fits the intent for a safe, modern Rust cryptography library, although the sparse description does not confirm specific features like constant-time operations or audit status.

    AssemblyAuthenticated EncryptionElliptic Curve Cryptography
    View on GitHub↗4,091
  • rustcrypto/hashesRustCrypto avatar

    RustCrypto/hashes

    2,230View on GitHub↗

    Collection of cryptographic hash functions written in pure Rust

    rustcrypto/hashes is a pure‑Rust collection of cryptographic hash functions from the RustCrypto project, which fits the request for modern primitives, but its description doesn’t mention misuse‑resistant APIs, constant‑time operations, or an audit, so it covers only part of the sought‑after features.

    RustRust Cryptography
    View on GitHub↗2,230
  • rustcrypto/aeadsRustCrypto avatar

    RustCrypto/AEADs

    938View on GitHub↗

    Authenticated Encryption with Associated Data Algorithms: high-level encryption ciphers

    This library from the Rust Crypto project provides safe, pure-Rust implementations of authenticated encryption algorithms (AEADs) like AES-GCM and ChaCha20Poly1305, fitting the demand for modern, misuse-resistant cryptographic primitives in Rust.

    RustRust Cryptography
    View on GitHub↗938
  • rustcrypto/elliptic-curvesRustCrypto avatar

    RustCrypto/elliptic-curves

    859View on GitHub↗

    Collection of pure Rust elliptic curve implementations: NIST P-224, P-256, P-384, P-521, secp256k1, SM2

    This pure Rust elliptic curve collection from the RustCrypto project fits the search for a safe, modern cryptography library—it provides constant-time implementations of common curves with memory safety, though it covers only elliptic curves rather than a full primitive set.

    RustRust Cryptography
    View on GitHub↗859
  • rustcrypto/signaturesRustCrypto avatar

    RustCrypto/signatures

    643View on GitHub↗

    Cryptographic signature algorithms: DSA, ECDSA, Ed25519

    This repository is a Rust library that implements modern cryptographic signature algorithms (Ed25519, ECDSA) with an emphasis on safe, memory-safe APIs, making it a solid fit for your need for a safe/modern cryptography library — though it is focused on signatures rather than covering all primitives.

    RustRust CryptographyTrophy Case
    View on GitHub↗643
  • dalek-cryptography/curve25519-dalekdalek-cryptography avatar

    dalek-cryptography/curve25519-dalek

    1,173View on GitHub↗

    This library provides a collection of low-level mathematical primitives for Curve25519 and Ristretto group operations. It serves as a foundation for building secure cryptographic protocols, offering tools for elliptic curve arithmetic, key exchange, and digital signature generation. The implementation prioritizes side-channel resistance by utilizing constant-time arithmetic logic across all operations, ensuring that secret-dependent timing variations are prevented. It leverages the Rust type system to enforce state validity, making illegal group elements unrepresentable at compile time. To ma

    This pure-Rust library provides safe, constant-time elliptic curve operations on Curve25519 and Ristretto, fitting the search for modern cryptographic primitives with memory safety, though it is focused on a specific set of operations rather than a broad library.

    RustElliptic Curve Cryptography
    View on GitHub↗1,173
  • jedisct1/libsodiumjedisct1 avatar

    jedisct1/libsodium

    13,467View on GitHub↗

    Libsodium is a portable, C-based cryptographic library that provides a collection of modern primitives for encryption, decryption, digital signatures, password hashing, and secure key exchange. It is designed to facilitate secure communication and data integrity across diverse hardware architectures and operating systems. The library distinguishes itself by utilizing constant-time primitive execution to prevent side-channel attacks and employing memory-hard algorithms to increase the difficulty of brute-force password attacks. It abstracts complex mathematical operations into simplified inter

    Libsodium is a well-regarded C library with modern primitives and constant-time operations, not a Rust library; it lacks a pure Rust implementation and Rust-native memory safety guarantees, so it's a neighbouring tool rather than the Rust cryptography library you're looking for.

    CAuthenticated EncryptionSide-Channel Resistant PrimitivesKey Derivation Protocols
    View on GitHub↗13,467
  • rustls/rustlsrustls avatar

    rustls/rustls

    7,470View on GitHub↗

    rustls is a memory-safe implementation of the Transport Layer Security protocol written in Rust. It provides a cryptographic stack for secure network communication, supporting both TLS 1.3 and 1.2 standards for client and server implementations. The project is designed as a modular cryptographic library that allows swapping underlying cryptographic backends and primitive providers to meet specific security or performance requirements. It incorporates a post-quantum cryptography stack, utilizing hybrid key exchanges and signatures to protect data against future quantum computing threats. The

    rustls is a memory-safe TLS protocol implementation in Rust, not a library of general-purpose cryptographic primitives — it uses and wraps modern primitives for secure communication, but if you need direct access to hashing, encryption, or signing primitives, you would want a library like ring or RustCrypto instead.

    RustPost-Quantum Key Exchange
    View on GitHub↗7,470
  • shadowsocks/shadowsocks-rustshadowsocks avatar

    shadowsocks/shadowsocks-rust

    10,729View on GitHub↗

    A Rust port of shadowsocks

    Shadowsocks-rust is a proxy application, not a library of cryptographic primitives — it uses cryptography internally but does not expose safe, misuse-resistant APIs for building other tools, so it doesn't match the search for a modern Rust cryptography library.

    RustAuthenticated Encryption
    View on GitHub↗10,729
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
ironcorelabs/recrypt-rs166RustAGPL-3.0Jun 2, 2026
dnaq/sodiumoxide645RustApache-2.0Sep 3, 2022
briansmith/ring
4.1K
Assembly
NOASSERTION
Jun 17, 2026
rustcrypto/hashes2.2KRust—Jun 16, 2026
rustcrypto/aeads938Rust—Jun 11, 2026
rustcrypto/elliptic-curves859Rust—Jun 17, 2026
rustcrypto/signatures643Rust—Jun 17, 2026
dalek-cryptography/curve25519-dalek1.2KRustNOASSERTIONJun 16, 2026
jedisct1/libsodium13.5KCotherFeb 11, 2026
rustls/rustls7.5KRustNOASSERTIONJun 22, 2026

Related searches

  • a cryptography library written in Go or Rust
  • a cryptographic library for Go applications
  • a cryptographic library for secure data operations
  • a python library for cryptographic operations
  • a post-quantum crypto library
  • a secure encryption library for C#
  • a python library for data encryption
  • a javascript library for data encryption