C++ Cryptography

Open-source C++ projects categorized as Cryptography

Top 23 C++ Cryptography Projects

Cryptography
  1. Bitcoin

    Bitcoin Core integration/staging tree

    Project mention: Bitcoin Transaction Signing: A Developer's Deep Dive | dev.to | 2025-06-30

    Bitcoin Core Source Code

  2. JetBrains

    Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!

    JetBrains 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

    Project mention: Botan: Crypto and TLS for Modern C++ | news.ycombinator.com | 2024-12-19
  5. rippled

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

    Project mention: Introducing Batch Transactions on the XRP Ledger: More Opportunities, Less Friction | dev.to | 2025-06-27

    That’s the goal of XLS-56d: Batch Transactions, created by Denis Angell, a powerful new feature now proposed as an amendment on the XRP Ledger.

  6. SEAL

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

  7. fully-homomorphic-encryption

    An FHE compiler for C++

  8. i2pd

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

    Project mention: GDPR meant nothing: chat control ends privacy for the EU [video] | news.ycombinator.com | 2025-08-17

    And if you don't want to install Java, there's also a C++ implementation: https://i2pd.website/

  9. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  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. Botan

    Cryptography Toolkit

    Project mention: Botan: Crypto and TLS for Modern C++ | news.ycombinator.com | 2024-12-19
  12. cryfs

    Cryptographic filesystem for the cloud

    Project mention: CryFS: A Cryptographic Filesystem for the Cloud | news.ycombinator.com | 2024-11-29
  13. risc0

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

    Project mention: A Brief History of zkVMs | dev.to | 2025-01-10

    Developer: Risc Zero

  14. 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!

  15. qtum

    Qtum Core Wallet

  16. WaykiChain

    Public Blockchain as a Decentralized Finance Infrastructure Service Platform

  17. steganography

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

  18. openfhe-development

    This is the development repository for the OpenFHE library. The current development version is 1.4.0 (released on August 18, 2025). The current stable version is 1.3.1 (released on July 11, 2025).

  19. 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/

  20. securefs

    Filesystem in userspace (FUSE) with transparent authenticated encryption

  21. firo

    The privacy-focused cryptocurrency

  22. opmsg

    opmsg message encryption

    Project mention: Briar: Peer to Peer Encrypted Messaging | news.ycombinator.com | 2025-03-14

    People have thought about how to do forward secrecy with PGP:

    https://sequoia-pgp.org/talks/2018-08-moving-forward/moving-...

    https://sequoia-pgp.gitlab.io/openpgp-dr/openpgp_dr/index.ht...

    https://github.com/stealth/opmsg

    https://github.com/autocrypt/autocrypt/issues/444

    There's a lot going on in the space. It is more innovative than you're giving it credit for, especially around double ratchet. Not there yet, but there's a good reason why I don't mind: control. Multi client support (DeltaChat desktop, hallelujah) and the fact that email remains federation-first.

    My identity definitely leaks to my server because I pay it's bill. Not only that, but most of my contacts run their own email or borrow it from me or someone else. Our data does not leave any EU countries apart from the UK. We have IM that doesn't involve any Americans.

    Some might imagine we feel terribly smug about that right now :)

  23. groestlcoin

    Groestlcoin Core integration/staging tree

  24. frameworks

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

  25. mcl

    a portable and fast pairing-based cryptography library

  26. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
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

Index

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

# Project Stars
1 Bitcoin 85,238
2 monero 9,802
3 Crypto++ 5,177
4 rippled 4,955
5 SEAL 3,855
6 fully-homomorphic-encryption 3,602
7 i2pd 3,589
8 HElib 3,212
9 Botan 3,009
10 cryfs 2,134
11 risc0 1,972
12 concrete 1,426
13 qtum 1,220
14 WaykiChain 1,047
15 steganography 1,047
16 openfhe-development 974
17 cryptominisat 877
18 securefs 791
19 firo 754
20 opmsg 753
21 groestlcoin 719
22 frameworks 517
23 mcl 502

Sponsored
Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com

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