SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C++ Cryptography Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
About Monero: https://getmonero.org
-
-
Permissioned Domain + Tickets crash (Critical). A specific combination of a Ticket-based transaction with the PermissionedDomain feature could trigger a keylet collision that would crash the validator. Neither feature was individually broken; the bug only existed at their intersection. This bug was initially caught by the XRPL Commons team back in March, and an initial fix that fixed the crash but not the root cause (since that required an amendment) was released in 3.1.2. However, during our release testing for 3.1.3 with Antithesis, we caught a second crashing issue with the same root cause. This is exactly the class of issue the red team was built to find, and exactly why we run fault injection against staging before release. The initial PR from 3.1.2 is #6540, and the full fix in 3.1.3 is #7129.
-
Project mention: I2P is currently facing an ongoing attack on its network | news.ycombinator.com | 2026-02-05
Tens of thousands of malicious routers have been deployed on the peer-to-peer anonymous network, I2P. These malicious routers are not contributing transit, causing severely degraded performance and anonymity for all. It is unknown whether this is the result of state actors, botnets, or researchers at this time.
https://www.reddit.com/r/i2p/comments/1qvalmq/megathread_ongoing_attack_on_i2p_network_causing/
https://github.com/PurpleI2P/i2pd/issues/2312
-
Project mention: Privacy-Preserving AI: 7 Techniques to Protect Training Data in Cloud AI Systems | dev.to | 2025-09-27
-
-
Usability-wise (I do not need many features or compliance for FIPS) I have been happy with Botan: https://botan.randombit.net/
-
HElib
HElib is an open-source software library that implements homomorphic encryption. It supports the BGV scheme with bootstrapping and the Approximate Number CKKS scheme. HElib also includes optimizations for efficient homomorphic evaluation, focusing on effective use of ciphertext packing techniques and on the Gentry-Halevi-Smart optimizations.
-
risc0
RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture.
-
Project mention: Show HN: Ncrypt – Query encrypted files privately with FHE | news.ycombinator.com | 2025-07-04
Hey HN,
We're building ncrypt, an open-source encrypted file manager that allows you to store, manage, and privately query your files using fully homomorphic encryption (FHE). This project originally started as a simple SFTP-like CLI for my personal S3 buckets which I used to send and retrieve encrypted files and have more granular control over key rotation.
As the number of files that I was storing grew, file discovery started to become a problem, and I found myself frequently having to download and decrypt files to inspect their contents. Rather than leaving them unencrypted in S3 and therefore easier to search, I started looking into the concept of searching over encrypted data using fully homomorphic encryption. This led me to Zama's concrete-python library (https://github.com/zama-ai/concrete), which provides a simple Python interface for performing FHE operations.
FHE is notoriously slow, so rather than trying to search over entire files I focused on a more tractable problem, indexing and searching over file metadata (summaries, keywords, embeddings, etc) which was small enough to make search practical. While still not fast compared to traditional file management tools, ncrypts search performance is decent if you keep directory sizes relatively small (under 25 files), and most of the heavy lifting happens during metadata extraction, not at search time.
The two types of encrypted queries we currently support are keyword search and cosine similarity search over vector embeddings, which are generated using user-specified huggingface models. Ncrypt currently supports metadata extraction for text, image, and audio files. Check out our code and give it a try at https://github.com/ncryptai/ncrypt.
We love feedback!
-
-
openfhe-development
This is the development repository for the OpenFHE library. The current version is 1.5.1 (released on April 10, 2026).
-
steganography
Simple C++ Image Steganography tool to encrypt and hide files inside images using Least-Significant-Bit encoding.
-
-
Project mention: Some thoughts on journals, refereeing, and the P vs. NP problem | news.ycombinator.com | 2025-08-06
I work on a (once top-of-the-line) SAT solver [1] and a (currently top-of-the-line) model counter [2]. Actually, I am very interested in the part of the rebuttal of "when each constraint has at most two variables, then the constraint satisfaction problem (and even the more difficult problem of counting the number of solutions) can be solved in time less than the lower bound that is claimed" -- in the model counting competition [3] there are actually problems that are binary-clause only, and I have to admit I am having trouble counting them any smarter than I already do normal (i.e. >=3 length clause) problems. Is there some very fun algorithm I'm missing that I could use for only-binary clause solution counting? I have thought about it, but I just... can't come up with anything smarter than compiling it into a d-DNNF form, which most SOTA model counters (and so I as well) do.
[1] https://github.com/msoos/cryptominisat/
-
-
-
-
-
-
-
C++ Cryptography discussion
C++ Cryptography related posts
-
The Cryptopals Crypto Challenges
-
Cryptopp-modern 2026.3.0M-KEM/ML-DSA/SLH-DSA and X-Wing hybrid KEM for C++
-
The State of OpenSSL for pyca/cryptography
-
Secure Remote Password (SRP) protocol
-
Privacy-Preserving AI: 7 Techniques to Protect Training Data in Cloud AI Systems
-
Qryptr: Airgapped ECC Text Messenger
-
Some thoughts on journals, refereeing, and the P vs. NP problem
-
A note from our sponsor - SaaSHub
www.saashub.com | 6 Jun 2026
Index
What are some of the best open-source Cryptography projects in C++? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | Bitcoin | 89,267 |
| 2 | monero | 10,585 |
| 3 | Crypto++ | 5,464 |
| 4 | rippled | 5,160 |
| 5 | i2pd | 4,082 |
| 6 | SEAL | 3,963 |
| 7 | fully-homomorphic-encryption | 3,630 |
| 8 | Botan | 3,269 |
| 9 | HElib | 3,239 |
| 10 | risc0 | 2,150 |
| 11 | concrete | 1,553 |
| 12 | qtum | 1,213 |
| 13 | openfhe-development | 1,131 |
| 14 | steganography | 1,084 |
| 15 | WaykiChain | 1,044 |
| 16 | cryptominisat | 933 |
| 17 | securefs | 822 |
| 18 | firo | 784 |
| 19 | opmsg | 756 |
| 20 | groestlcoin | 706 |
| 21 | bitcoin | 664 |
| 22 | mcl | 526 |
| 23 | frameworks | 519 |