Rust Cryptography

Open-source Rust projects categorized as Cryptography

Top 23 Rust Cryptography Projects

  • grin

    Minimal implementation of the Mimblewimble protocol.

    Project mention: I will need your help to complete (if possible) a rust lang program installation | reddit.com/r/openbsd | 2022-11-14

    Could someone explain to me exactly what these errors are and if it is possible to complete the installation? https://github.com/mimblewimble/grin

  • rustls

    A modern TLS library in Rust

    Project mention: New OpenSSL Vulnerabilities (CVE-2022-3602 and CVE-2022-3786) Are a Big Deal for IoT Devices, How Can You Stay Protected? | reddit.com/r/IOT | 2022-11-08

    Another interesting immune to use more modern TLS or security libraries/stacks. For example, our database will the Rust based TLS library, Rustls, to provide the QMTT TLS service. We are happy to immune from all OpenSSL's CVEs.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • Ockam

    Orchestrate end-to-end encryption, mutual authentication, key management, credential management & authorization policy enforcement — at scale.

    Project mention: Ask HN: What startups do you properly love and are rooting for? | news.ycombinator.com | 2022-10-20
  • locutus

    Declare your digital independence (by freenet)

    Project mention: First Impressions of Bluesky's at Protocol | news.ycombinator.com | 2022-11-08

    Interesting to compare this with something like Locutus https://github.com/freenet/locutus

  • rust-crypto

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

    Project mention: Should we be worried about proliferation of unsafe in Rust code? | reddit.com/r/rust | 2022-09-12

    3680 in azul 147 in rayon 2 functions and 1 pattern match in ripgrep 25 in rust-crypto

  • exonum

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

  • hashes

    Collection of cryptographic hash functions written in pure Rust

    Project mention: What's the crate for sha256 HMAC? | reddit.com/r/rust | 2022-03-07
  • Zigi

    Close all those tabs. Zigi will handle your updates.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • mundane

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

    Project mention: Crates for helping with C FFI? | reddit.com/r/rust | 2022-10-25

    I'm the author of Mundane, which wraps BoringSSL, which is written in C. We have some internal utilities which make it safer to work with C objects by doing a certain amount of automatic memory management and lifecycle tracking.

  • rust-openssl

    OpenSSL bindings for Rust

    Project mention: How to build a cargo binary with nix | reddit.com/r/NixOS | 2022-04-14

    If you're in a situation where you think the directory should be found automatically, please open a bug at https://github.com/sfackler/rust-openssl and include information about your system as well as this message.

  • s2n-quic

    An implementation of the IETF QUIC protocol

    Project mention: From Fuzzing to Proof: Using Kani with the Bolero Property-Testing Framework | reddit.com/r/rust | 2022-10-27

    Packet parsing is a great application for this type of testing. We've used bolero/Kani in a bunch of s2n-quic's codec implementations - example.

  • multi-party-ecdsa

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

    Project mention: Ssss: Shamir's Secret Sharing Scheme | news.ycombinator.com | 2022-10-27

    Use MPC instead? Sadly there are not enough mature open source projects around: https://github.com/ZenGo-X/multi-party-ecdsa and you can always take a look at https://github.com/rdragos/awesome-mpc

    Sadly companies like Unbound were acquired by Coinbase and the OSS codebase is not longer maintained: https://github.com/unboundsecurity/blockchain-crypto-mpc

  • curve25519-dalek

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

    Project mention: Looking for good (low level?) Elliptic Curve library | reddit.com/r/rust | 2022-05-29

    Much of what you'll find highly visibly will be high-level libraries, but look at their dependencies. For example, from the ed25519 library you may find ed25519-dalek, and from there you could find curve25519-dalek which deals in point encodings and that like. (I don't know these particular libraries; they might help or just serve as an example of a viable exploration path).

  • concrete

    Concrete ecosystem is a set of crates that implements Zama's variant of TFHE. In a nutshell, fully homomorphic encryption (FHE), allows you to perform computations over encrypted data, allowing you to implement Zero Trust services.

    Project mention: Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.59] | reddit.com/r/rust | 2022-02-25

    Your team is writing and maintaining a cryptographic library in Rust. You will contribute in making it fast and easy to use. This library is indeed intended for growing with new cryptographic algorithms, new hardware implementations, etc.

  • ed25519-dalek

    Fast and efficient ed25519 signing and verification in Rust.

    Project mention: Looking for good (low level?) Elliptic Curve library | reddit.com/r/rust | 2022-05-29

    Much of what you'll find highly visibly will be high-level libraries, but look at their dependencies. For example, from the ed25519 library you may find ed25519-dalek, and from there you could find curve25519-dalek which deals in point encodings and that like. (I don't know these particular libraries; they might help or just serve as an example of a viable exploration path).

  • lemmeknow

    The fastest way to identify anything!

    Project mention: Go Library like PyWhat? | reddit.com/r/golang | 2022-10-20

    Is there a library written in Go similar to PyWhat? I want to use a subset of the functionality for a simple go program I'm writing. I could just call PyWhat, link to lemmeknow, or even write a simple go implementation myself, but I wanted to ask if there was a pure go implementation. Thanks!

  • orion

    Usable, easy and safe pure-Rust crypto

    Project mention: RiB Newsletter #31 | reddit.com/r/rust | 2022-01-05

    orion. Usable, easy and safe pure-Rust crypto.

  • shoop

    scp has a run-in with mosh (alpha)

  • RustCrypto

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

    Project mention: Announcing street-cred 0.1.1 - My first Rust crate | reddit.com/r/rust | 2022-11-14

    FYI: the rust-crypto crate is unmaintained. Take a look at https://github.com/RustCrypto/AEADs instead

  • webpki

    WebPKI X.509 Certificate Validation in Rust

    Project mention: Struggling with the OpenSSL Crate | reddit.com/r/rust | 2022-03-13

    Beyond that, various things like the ScyllaDB driver are using OpenSSL because WebPKI doesn't support validating connections to IP addresses (as opposed to DNS names) and RusTLS currently delegates to WebPKI.

  • miden

    STARK-based virtual machine

    Project mention: LRC vs MATIC and other L2s | reddit.com/r/loopringorg | 2022-01-18

    So is the alpha Polygon Miden https://github.com/maticnetwork/miden

  • RustCrypto Elliptic Curves

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

    Project mention: Override a transitive dependency's version | reddit.com/r/rust | 2022-09-16

    I recommend watching this issue. Not much has happened recently, but I think there's a chance we'll get a maintained ed25519 crate at some point, and when that happens you'll probably hear about it there first :)

  • rust-native-tls

  • algebra

    Libraries for finite field, elliptic curve, and polynomial arithmetic

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

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 2022-11-14.

Rust Cryptography related posts

Index

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

Project Stars
1 grin 4,977
2 rustls 3,915
3 Ockam 2,674
4 locutus 1,499
5 rust-crypto 1,231
6 exonum 1,190
7 hashes 1,139
8 mundane 1,046
9 rust-openssl 1,015
10 s2n-quic 781
11 multi-party-ecdsa 668
12 curve25519-dalek 601
13 concrete 569
14 ed25519-dalek 553
15 lemmeknow 535
16 orion 465
17 shoop 449
18 RustCrypto 439
19 webpki 401
20 miden 382
21 RustCrypto Elliptic Curves 372
22 rust-native-tls 362
23 algebra 359
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
www.sonarqube.org