SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Rust Cryptography Projects
-
This document provides my intention of enum_builder! macro in rustls crate.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
Ockam
Orchestrate end-to-end encryption, cryptographic identities, mutual authentication, and authorization policies between distributed applications – at massive scale.
Project mention: Autossh – automatically restart SSH sessions and tunnels | news.ycombinator.com | 2024-09-28May I suggest a tool built for application level portals instead?
https://github.com/build-trust/ockam
One binary, easy to use, no ssh getting stuck! (yep, I work at Ockam :)
-
-
The article raises some great points about why distributed programming has stalled, but I think there’s still room for innovation, especially in how we handle state consistency across a decentralized system.
In Freenet[1], we’ve been working on a novel approach to consistency that avoids many of the typical trade-offs between strong consistency and availability. Instead of treating state as a single evolving object, we use a model where updates are expressed as summarizable deltas—essentially, each update is a commutative monoid, allowing peers to independently merge state while still preserving consistency guarantees.
This avoids the need for heavyweight consensus protocols while still ensuring that nodes can reach a consistent view of the data. More details here: https://freenet.org/news/summary-delta-sync/
[1] https://freenet.org/
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
CYFS
CYFS is the next-generation technology to build real Web3 by upgrading the basic protocol of Web (TCP/IP+DNS+HTTP),is short for CYberFileSystem. https://www.cyfs.com/, cyfs://cyfs/index_en.html.
-
-
exonum
An extensible open-source framework for creating private/permissioned blockchain applications
-
-
Project mention: PQConnect – a new easy-to-install layer of Internet security from DJB, Lange | news.ycombinator.com | 2024-12-27
There are a number (or just one? Mullvad) of commercial VPN providers that provide an optional PQC layer, and that fact is referenced on this project's page.
There is also VPN software that incorporates PQC (also referenced): https://rosenpass.eu
What this project attempts to do is to establish a PQC stream between any two peers end-to-end (in most situations one of the peers will be a server). This is an important difference as a VPN expects a network-protocol (eg. IP) tunnel of some sort to flow across.
-
tfhe-rs
TFHE-rs: A Pure Rust implementation of the TFHE Scheme for Boolean and Integer Arithmetics Over Encrypted Data.
-
-
mundane
Mundane is a Rust cryptography library backed by BoringSSL that is difficult to misuse, ergonomic, and performant (in that order).
-
ezkl
ezkl is an engine for doing inference for deep learning models and other computational graphs in a zk-snark (ZKML). Use it from Python, Javascript, or the command line.
Project mention: SP1: A performant, 100% open-source, contributor-friendly zkVM | news.ycombinator.com | 2024-12-08For those looking for applications outside crypto, this might also be interesting: https://docs.ezkl.xyz/
It's similar to Succinct but for proofs of ML models instead of RISCV. So you could generate a proof on some private data, on your computer or in a trusted environment, and submit the proof to show that you pass a fraud check without revealing any of your data.
-
-
multi-party-ecdsa
Rust implementation of {t,n}-threshold ECDSA (elliptic curve digital signature algorithm).
-
-
-
There's a debate on how unsafe/unsound this technique actually is. https://github.com/ogxd/gxhash/issues/82
I definitely see the conundrum since the dangerous code is such a huge performance gain.
-
I just finished implementing sha1collision detection, and it will be integrated into rpgp soon https://github.com/rpgp/rpgp/issues/293
This is the same algorithm used by git.
There are higher level implementations that use the dates on signatures to straight out reject sha1 material, but that gives only a limited protection.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Cryptography discussion
Rust Cryptography related posts
-
Convert enum into/from number in Rust
-
Noir Programming Language
-
OpenMLS – An open-source implementation of Messaging Layer Security protocol
-
Show HN: CodeTracer – a new time-traveling debugger implemented in Nim and Rust
-
Design and Explore Noise Handshake Patterns
-
Distributed Systems Programming Has Stalled
-
Reviewing the Cryptography Used by Signal
-
A note from our sponsor - SaaSHub
www.saashub.com | 25 Mar 2025
Index
What are some of the best open-source Cryptography projects in Rust? This list will help you:
# | Project | Stars |
---|---|---|
1 | rustls | 6,555 |
2 | grin | 5,076 |
3 | Ockam | 4,514 |
4 | snarkOS | 4,425 |
5 | freenet-core | 2,339 |
6 | hashes | 1,982 |
7 | rust-openssl | 1,452 |
8 | CYFS | 1,433 |
9 | rust-crypto | 1,416 |
10 | exonum | 1,245 |
11 | s2n-quic | 1,207 |
12 | rosenpass | 1,159 |
13 | tfhe-rs | 1,118 |
14 | snarkVM | 1,108 |
15 | mundane | 1,070 |
16 | ezkl | 1,044 |
17 | noir | 1,021 |
18 | multi-party-ecdsa | 1,015 |
19 | lemmeknow | 981 |
20 | curve25519-dalek | 956 |
21 | gxhash | 882 |
22 | rpgp | 852 |
23 | RustCrypto | 770 |