Rust Cryptography

Open-source Rust projects categorized as Cryptography

Top 23 Rust Cryptography Projects

  • grin

    Minimal implementation of the Mimblewimble protocol.

    Latest mention: Daily Discussion - January 1, 2021 (GMT+0) | | 2020-12-31
  • rustls

    A modern TLS library in Rust

    Latest mention: Go vs Rust for crypto implementations | | 2021-01-17

    Of course, Rust cryptographic ecosystem also contains "traditional" libraries as well, such as wrappers around OpenSLL/libsodium, OS crypto providers, and notably ring. To add a bit of promotion: ring heavily borrows BoringSSL code (Google's fork of OpenSSL), intentionally restricts number of supported algorithms, and is used by rustls, which has noticeably outperformed OpenSSL.

  • exonum

    An extensible open-source framework for creating private/permissioned blockchain applications

  • mundane

    Mundane is a Rust cryptography library backed by BoringSSL that is difficult to misuse, ergonomic, and performant (in that order).

    Latest mention: How to implement a simple password-based encryption with ring? | | 2021-01-21

    (,, etc)

  • rust-crypto

    A (mostly) pure-Rust implementation of various cryptographic algorithms.

  • rust-openssl

    OpenSSL bindings for Rust

  • sodiumoxide

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

  • curve25519-dalek

    A pure-Rust implementation of group operations on Ristretto and Curve25519

  • ed25519-dalek

    Fast and efficient ed25519 signing and verification in Rust.

  • Ockam

    Ockam is a suite of tools, programming libraries and infrastructure that make it easy to build devices that communicate securely, privately and trustfully with cloud services and other devices.

  • webpki

    WebPKI X.509 Certificate Validation in Rust

  • rust-native-tls

  • orion

    Usable, easy and safe pure-Rust crypto

    Latest mention: How to implement a simple password-based encryption with ring? | | 2021-01-21 seems like a solid attempt at making crypto fool-proof , so i do have hope.

  • RustCrypto

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

    Latest mention: How to implement a simple password-based encryption with ring? | | 2021-01-21
  • RustCrypto Elliptic Curves

    Collection of pure Rust elliptic curve implementations (e.g. P-256, P-384, secp256k1)

  • octavo

    Highly modular & configurable hash & crypto library

  • suruga

    [INACTIVE] TLS 1.2 implementation in Rust

  • rust-security-framework

    Bindings to the macOS Security.framework

  • mpw-rs

    Master Password in Pure Rust

  • libblockchain

    A Blockchain implementation in Rust

  • schannel-rs

    Schannel API-bindings for rust (provides an interface for native SSL/TLS using windows APIs)

  • rncryptor-rs

    Pure Rust implementation of the RNCryptor cryptographic format by Rob Napier


    Common Rust crypto utilities

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-01-21.


What are some of the best open-source Cryptography projects in Rust? This list will help you:

Project Stars
1 grin 4,741
2 rustls 2,274
3 exonum 1,026
4 mundane 1,018
5 rust-crypto 1,007
6 rust-openssl 721
7 sodiumoxide 580
8 curve25519-dalek 457
9 ed25519-dalek 366
10 Ockam 298
11 webpki 289
12 rust-native-tls 263
13 orion 210
14 RustCrypto 187
15 RustCrypto Elliptic Curves 141
16 octavo 132
17 suruga 119
18 rust-security-framework 96
19 mpw-rs 32
20 libblockchain 30
21 schannel-rs 24
22 rncryptor-rs 5
23 1