C++ Cryptography

Open-source C++ projects categorized as Cryptography

Top 23 C++ Cryptography Projects

  • Bitcoin

    Bitcoin Core integration/staging tree

    Project mention: Help finding the code | /r/Bitcoincash | 2023-07-12

    I like how the insight can show what exactly been done over time..https://github.com/bitcoin/bitcoin/graphs/contributors

  • monero

    Monero: the secure, private, untraceable cryptocurrency

    Project mention: Haveno Exchange Going to Support Goldbacks | /r/Goldback | 2023-09-20

    Decentralized Monero focused exchange is added support for Goldbacks in their v0.0.11 release.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • rippled

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

    Project mention: Top 3 Developer Takeaways from Apex 2023 | dev.to | 2023-09-18

    The third annual Apex Developer Summit was the biggest yet. Held in collaboration with the XRP Ledger Foundation, this event brought together an impressive gathering of over 400 blockchain developers, validators, and XRPL community members in the heart of Amsterdam at the Leonardo Royal Hotel.

  • Crypto++

    free C++ class library of cryptographic schemes

    Project mention: And the Earn It act is back in the US. Third times the charm to crush privacy? | /r/linux | 2023-05-06

    I'm one of the maintainers of Crypto++, https://cryptopp.com/.

  • fully-homomorphic-encryption

    An FHE compiler for C++

    Project mention: What are the current hot topics in type theory and static analysis? | /r/ProgrammingLanguages | 2023-05-08

    Secure computing. This includes Fully Homomorphic Encryption AKA FHE, of which there is a language/compiler which just got released and Google's older FHE compiler. FHE is probably more "compiler" than "type system", e.g. Google's compiler works on C++. Also Security Type Systems which include Oblivious data structures and Oblivious ADTs.

  • SEAL

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

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

    Project mention: The Rise of Fully Homomorphic Encryption | news.ycombinator.com | 2022-09-29

    For clarity, let's assume the hospital stores its records in plaintext. For the pharma company, the hospital encrypts the patient records with a secret key. Now they let the pharma company run their homomorphic algorithm and send the values back. Only problem is the pharma company can not read those results without having access to the key. FHE is completely redundant in this use case - the hospital could have simply run the pharma company's SQL and audited the code and outputs.

    What is FHE actually good for then? Let's imagine you are a top secret agent and you get instructions to fly to Bulgaria as a part of your mission. You have other hostile agents constantly monitoring you, trying to understand your next move. But there's a problem - to buy a plane ticket to Bulgaria you need to know the name of it's capital city. You can't just type it to Google, because these other agents have infiltrated the Google servers and see what you search (assume once you actually know the name of the capital, you somehow buy the actual ticket without "them" knowing..)

    Lukcily though, CloudCorp offers a public homomorphic query service for all world capitals. This service allows you to send a query for the capital of any country over an intercepted connection, and get back the result. Even if the hostile agents had infiltrated CloudCorp and were monitoring all your comms, they would not be able know which country's capital you just queried.

    How such service would be implemented is explained in good detail in this tutorial: https://github.com/homenc/HElib/tree/master/examples/BGV_cou...

    P.S. The capital of Bulgaria is Sofia.

  • SonarCloud

    Analyze your C and C++ projects with just one click.. SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.

  • i2pd

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

    Project mention: Tor’s history of D/DoS attacks and future strategies for mitigation | news.ycombinator.com | 2023-07-06

    If you really dislike Java that much, there are other I2P implementations like this:

    https://github.com/PurpleI2P/i2pd

  • Botan

    Cryptography Toolkit

    Project mention: Ask HN: What are some of the most elegant codebases in your favorite language? | news.ycombinator.com | 2023-06-17
  • cryfs

    Cryptographic filesystem for the cloud

    Project mention: How do I Password-Protect a single folder? | /r/archlinux | 2023-07-01

    you have a couple options. if you’re using ext4, fscrypt might be your best bet. if not, a FUSE-based encryption option is probably your only option. ecryptfs, gocryptfs and encfs are good, but i personally prefer cryfs. it doesn’t have an archwiki page, but can be installed from the repos and instructions for use can be found on its webpage

  • fhe-toolkit-linux

    IBM Fully Homomorphic Encryption Toolkit For Linux. This toolkit is a Linux based Docker container that demonstrates computing on encrypted data without decrypting it! The toolkit ships with two demos including a fully encrypted Machine Learning inference with a Neural Network and a Privacy-Preserving key-value search.

    Project mention: IBM Fully Homomorphic Encryption (HELayers) SDK for Linux | /r/CKsTechNews | 2023-02-14
  • qtum

    Qtum Core Wallet

  • WaykiChain

    Public Blockchain as a Decentralized Finance Infrastructure Service Platform

  • risc0

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

    Project mention: The Cairo Programming Language | news.ycombinator.com | 2023-05-03

    You can actually write zkps in pure Rust, but there's not currently any blockchain integration: https://github.com/risc0/risc0

  • steganography

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

    Project mention: Blazingly fast cloud storage 🚀 | /r/rustjerk | 2023-02-22

    Oh no, C++ barbarians again ahead of us.

  • concrete

    Concrete: TFHE Compiler that converts python programs into FHE equivalent

    Project mention: Is there a Rust equivalent for Fully Homomorphic Encryption? | /r/rust | 2023-02-15

    There is concrete for homomorphic encryption, but that is not really a transport/compiler (yet).

  • groestlcoin

    Groestlcoin Core integration/staging tree

  • cryptominisat

    An advanced SAT solver

    Project mention: The Silent (R)evolution of SAT | news.ycombinator.com | 2023-05-26

    ManySAT: http://www.cril.univ-artois.fr/~jabbour/manysat.htm

    It shares short conflict clauses between parallel solvers and achieves superlinear speedup in some cases, e.g., 4 parallel solvers solve faster than one forth of the single solver soolution time.

    Short conflict clauses are rare so there is little communication between solvers required.

    CryptoMiniSAT: https://github.com/msoos/cryptominisat

    Author's goal to have solver that is good in computing range from single CPU up to cluster. Judging from CryptoMiniSAT successes, he has mostly reached the goal.

  • opmsg

    opmsg message encryption

  • firo

    The privacy-focused cryptocurrency

    Project mention: Weekly Firo Development Meeting Minutes | /r/FiroProject | 2023-06-17

    Peter continues his work on walletdb refactoring (PR #1239), which optimizes performance by using a single instance of CWalletDB. It is about 90% done and is estimated to be done by the end of the week.

  • securefs

    Filesystem in userspace (FUSE) with transparent authenticated encryption

    Project mention: What do you guys use for all your personal info? | /r/software | 2023-03-02

    There's cppcryptfs & securefs as Cryptomator alternatives too. SiriKali is an option for a GUI that works nicely with them.

  • cryptofuzz

    Fuzzing cryptographic libraries. Magic bug printer go brrrr.

  • react-native-quick-crypto

    ⚡️ A fast implementation of Node's `crypto` module written in C/C++ JSI

    Project mention: has anyone had any luck connecting a web3 wallet (metamask, walletconnect, etc) with a react-native project lately? | /r/reactnative | 2023-05-25
  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

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). The latest post mention was on 2023-09-20.

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 71,497
2 monero 8,125
3 rippled 4,348
4 Crypto++ 4,177
5 fully-homomorphic-encryption 3,336
6 SEAL 3,179
7 HElib 3,035
8 i2pd 2,524
9 Botan 2,226
10 cryfs 1,849
11 fhe-toolkit-linux 1,392
12 qtum 1,188
13 WaykiChain 1,048
14 risc0 1,046
15 steganography 909
16 concrete 868
17 groestlcoin 768
18 cryptominisat 733
19 opmsg 733
20 firo 687
21 securefs 665
22 cryptofuzz 612
23 react-native-quick-crypto 512
Updating dependencies is time-consuming.
Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
blog.mergify.com