C++ Cryptography

Open-source C++ projects categorized as Cryptography

Top 23 C++ Cryptography Projects

Cryptography
  1. Bitcoin

    Bitcoin Core integration/staging tree

    Project mention: Brief: Bitcoin Core Governance Analysis | news.ycombinator.com | 2026-04-10
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. monero

    Monero: the secure, private, untraceable cryptocurrency

    Project mention: Play Flash games on mobile with Ruffle Virtual Keyboard | dev.to | 2025-07-25

    About Monero: https://getmonero.org

  4. Crypto++

    free C++ class library of cryptographic schemes

  5. rippled

    Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++

    Project mention: Inside the XRPL AI Red Team: What We've Found and Fixed | dev.to | 2026-05-29

    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.

  6. i2pd

    🛡 I2P: End-to-End encrypted and anonymous Internet

    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

  7. SEAL

    Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library. (by microsoft)

    Project mention: Privacy-Preserving AI: 7 Techniques to Protect Training Data in Cloud AI Systems | dev.to | 2025-09-27
  8. fully-homomorphic-encryption

    An FHE compiler for C++

  9. Botan

    Cryptography Toolkit

    Project mention: WolfSSL Sucks Too, So Now What? | news.ycombinator.com | 2026-02-13

    Usability-wise (I do not need many features or compliance for FIPS) I have been happy with Botan: https://botan.randombit.net/

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

  11. risc0

    RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture.

  12. concrete

    Concrete: TFHE Compiler that converts python programs into FHE equivalent

    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!

  13. qtum

    Qtum Core Wallet

  14. openfhe-development

    This is the development repository for the OpenFHE library. The current version is 1.5.1 (released on April 10, 2026).

  15. steganography

    Simple C++ Image Steganography tool to encrypt and hide files inside images using Least-Significant-Bit encoding.

  16. WaykiChain

    Public Blockchain as a Decentralized Finance Infrastructure Service Platform

  17. cryptominisat

    An advanced SAT solver

    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/

  18. securefs

    Filesystem in userspace (FUSE) with transparent authenticated encryption

  19. firo

    The privacy-focused cryptocurrency

  20. opmsg

    opmsg message encryption

  21. groestlcoin

    Groestlcoin Core integration/staging tree

  22. bitcoin

    Bitcoin Knots enhanced Bitcoin node/wallet software (by bitcoinknots)

  23. mcl

    a portable and fast pairing-based cryptography library

  24. frameworks

    Sample code and build environments for MPC frameworks (by MPC-SoK)

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).

C++ Cryptography discussion

Log in or Post with

C++ Cryptography related posts

  • The Cryptopals Crypto Challenges

    1 project | news.ycombinator.com | 28 Mar 2026
  • Cryptopp-modern 2026.3.0M-KEM/ML-DSA/SLH-DSA and X-Wing hybrid KEM for C++

    1 project | news.ycombinator.com | 1 Mar 2026
  • The State of OpenSSL for pyca/cryptography

    3 projects | news.ycombinator.com | 14 Jan 2026
  • Secure Remote Password (SRP) protocol

    1 project | dev.to | 28 Oct 2025
  • Privacy-Preserving AI: 7 Techniques to Protect Training Data in Cloud AI Systems

    1 project | dev.to | 27 Sep 2025
  • Qryptr: Airgapped ECC Text Messenger

    1 project | news.ycombinator.com | 9 Aug 2025
  • Some thoughts on journals, refereeing, and the P vs. NP problem

    2 projects | news.ycombinator.com | 6 Aug 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 6 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?