Rust Cryptography

Open-source Rust projects categorized as Cryptography | Edit details

Top 23 Rust Cryptography Projects

  • GitHub repo grin

    Minimal implementation of the Mimblewimble protocol.

    Project mention: XMR The BTC of Privacy | | 2021-08-23

    Do you have any thoughts in particular about Grin?

  • GitHub repo rustls

    A modern TLS library in Rust

    Project mention: What encryption crates do you guys recommend, especially one with support for streams | | 2021-10-14

    You could also just straight up use a full tls implementation like Rusttls does support a read/write interface.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo Ockam

    End-to-end encryption and mutual authentication for distributed applications.

    Project mention: What are you using Rust for? | | 2021-10-01
  • GitHub repo exonum

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

  • GitHub repo rust-crypto

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

  • GitHub repo mundane

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

    Project mention: SAML Is Insecure by Design | | 2021-08-05

    Most problems with security specs and libraries that implement them are communication problems. They involve people incompletely describing or understanding their requirements, capabilities, or threat model. Usually this also involves providing/using interfaces that are not ergonomic (, which in turn comes from the spec trying to do too much (as XML Signature does).

    I don't know how GPT could help with that. If anything I would expect it to bias toward things it has already seen, which is the opposite of what you want when writing a new spec/library aiming to avoid past mistakes.

  • GitHub repo rust-openssl

    OpenSSL bindings for Rust

    Project mention: Cargo build openssl environment variables not set | | 2021-05-03

    Failed to find OpenSSL development headers. You can try fixing this setting the `OPENSSL_DIR` environment variable pointing to your OpenSSL installation or installing OpenSSL headers package specific to your distribution: # On Ubuntu sudo apt-get install libssl-dev # On Arch Linux sudo pacman -S openssl # On Fedora sudo dnf install openssl-devel See rust-openssl README for more information:

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo hashes

    Collection of cryptographic hash functions written in pure Rust

    Project mention: Hey Rustaceans! Got an easy question? Ask here (8/2021)! | | 2021-02-22

    Then you should note that here where they're in the process of rewriting the crate (and have already removed the unsafe block you pointed out):

  • GitHub repo sodiumoxide

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

    Project mention: Sodiumoxide has been deprecated | | 2021-10-16
  • GitHub repo curve25519-dalek

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

    Project mention: Identity element in ECC | | 2021-05-28

    What lib are you using? I would probably suggest to use the Ristretto Group abstraction for safety. The curve25519-dalek crate has that.

  • GitHub repo ed25519-dalek

    Fast and efficient ed25519 signing and verification in Rust.

  • GitHub repo shoop

    scp has a run-in with mosh (alpha)

  • GitHub repo multi-party-ecdsa

    Rust implementation of {t,n}-threshold ECDSA (elliptic curve digital signature algorithm).

    Project mention: Rust implementation of {t,n}-threshold ECDSA | | 2021-10-12
  • GitHub repo webpki

    WebPKI X.509 Certificate Validation in Rust

    Project mention: Why is SSL such a pain? | | 2021-07-28

    Yes, rustls currently doesn't support certificates without hostnames (only an IP); this is actually an issue with the webpki crate, and work to solve it is ongoing (will hopefully land in a release in a few months or so).

  • GitHub repo rust-native-tls

  • GitHub repo RustCrypto

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

    Project mention: What encryption crates do you guys recommend, especially one with support for streams | | 2021-10-14

    I'd recommend RustCrypto's crates are high quality, widely used and some have even been audited. Unfortunately they don't provide a read/write interface.

  • GitHub repo orion

    Usable, easy and safe pure-Rust crypto (by orion-rs)

    Project mention: orion 0.16 - const generics, organization changes and a new maintainer | | 2021-03-28


  • GitHub repo concrete

    Concrete Operates oN Ciphertexts Rapidly by Extending TfhE

    Project mention: showcase of notable cryptography libraries developed in Rust (a.k.a. Awesome Rust Cryptography) | | 2021-08-24

    We are building Concrete, a fast Rust library for homomorphic encryption.

  • GitHub repo RustCrypto Elliptic Curves

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

  • GitHub repo algebra

    Libraries for finite field, elliptic curve, and polynomial arithmetic

    Project mention: Example of how of `disallowed_method` Clippy lint in Rust 1.54 can be quite handy | | 2021-08-30

    Is ark a prefix Embark is using for all their Rust crates, or is it a one-off name for your future crate? If so, it might collide with our naming convention in the arkworks ecosystem:

  • GitHub repo tiny-keccak

    An implementation of Keccak derived functions specified in FIPS-202, SP800-185 and KangarooTwelve

    Project mention: SHA 3 and Keccak on embedded devices using Rust | | 2021-10-14

    Last year I started making a performance analysis of Keccak (the base primitive of SHA3) on constrained devices, using a modified version of tiny-keccak. Security for low-power wireless communication protocols is part of my PhD research, hence the evaluation of this secure hash primitive with its nice features. The other reason for this performance evaluation was to promote the Rust programming language in research, since this is not really accepted yet in my research field.

  • GitHub repo octavo

    Highly modular & configurable hash & crypto library

  • GitHub repo rust-security-framework

    Bindings to the macOS Security.framework

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-10-16.


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

Project Stars
1 grin 4,875
2 rustls 2,950
3 Ockam 1,428
4 exonum 1,087
5 rust-crypto 1,085
6 mundane 1,045
7 rust-openssl 828
8 hashes 787
9 sodiumoxide 631
10 curve25519-dalek 528
11 ed25519-dalek 433
12 shoop 426
13 multi-party-ecdsa 411
14 webpki 339
15 rust-native-tls 299
16 RustCrypto 270
17 orion 263
18 concrete 261
19 RustCrypto Elliptic Curves 247
20 algebra 143
21 tiny-keccak 138
22 octavo 134
23 rust-security-framework 121
Find remote jobs at our new job board There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives