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. 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
  3. monero

    Monero: the secure, private, untraceable cryptocurrency

  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

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream 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 version is 1.3.1 (released on July 11, 2025).

  19. cryptominisat

    An advanced SAT solver

  20. securefs

    Filesystem in userspace (FUSE) with transparent authenticated encryption

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

  22. firo

    The privacy-focused cryptocurrency

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

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

    SaaSHub 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

  • Adding concurrent read/write to DuckDB with Arrow Flight

    2 projects | news.ycombinator.com | 29 Jan 2025
  • A Brief History of zkVMs

    6 projects | dev.to | 10 Jan 2025
  • Botan: Crypto and TLS for Modern C++

    5 projects | news.ycombinator.com | 19 Dec 2024
  • Autossh – automatically restart SSH sessions and tunnels

    5 projects | news.ycombinator.com | 28 Sep 2024
  • RISC Zero

    1 project | news.ycombinator.com | 6 Jun 2024
  • Analyzing Bitcoin Transactions with Lightning Node Insights

    2 projects | dev.to | 12 Apr 2024
  • How to use QTUM?

    1 project | /r/Qtum | 7 Dec 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 19 Jul 2025
    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. Learn more β†’

Index

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

# Project Stars
1 Bitcoin 84,611
2 monero 9,638
3 Crypto++ 5,163
4 rippled 4,914
5 SEAL 3,823
6 fully-homomorphic-encryption 3,584
7 i2pd 3,517
8 HElib 3,208
9 Botan 2,974
10 cryfs 2,117
11 risc0 1,931
12 concrete 1,401
13 qtum 1,215
14 WaykiChain 1,045
15 steganography 1,033
16 openfhe-development 940
17 cryptominisat 868
18 securefs 788
19 opmsg 753
20 firo 751
21 groestlcoin 718
22 frameworks 514
23 mcl 497

Sponsored
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.
www.influxdata.com

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