C++ Crypto

Open-source C++ projects categorized as Crypto

Top 23 C++ Crypto Projects

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

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

  • wallet-core

    Cross-platform, cross-blockchain wallet library.

    Project mention: Best wallet on F-Droid? | /r/fossdroid | 2023-06-26

    And definitely not them either after this https://github.com/trustwallet/wallet-core/issues/1513

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

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

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

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

    OK is the leading multi chain and energy friendly open source electronic cash, nobody owns or controls OK and everyone can take part. OK wallet integration/staging tree • Okcash

  • GpgFrontend

    A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).

    Project mention: Mastodon's Privacy: Who actually holds your data in Mastodon | /r/privacy | 2022-11-29

    If there is enough text space for OpenPGP payloads (they can get quite large), you could secure your privacy by using this tool https://github.com/saturneric/GpgFrontend and copy and paste that into Mastodon chats.

  • Dynex

    Dynex is a next-generation platform for neuromorphic computing based on a new flexible blockchain protocol. It consists of participating nodes that together constitute one enormous neuromorphic computing network. Consequently, the platform is capable of performing computations at unprecedented speeds and efficiency – even exceeding quantum computing. Everyone is welcome to participate, since the Dynex neuromorphic computing chip is capable of being simulated using almost any device, from regular

    Project mention: Introduction | /r/Dynexcoin | 2022-12-03

    Github link: https://github.com/dynexcoin/Dynex

  • milo

    Cryptography library for modern C++.

    Project mention: C++ Show and Tell - March 2023 | /r/cpp | 2023-03-01
  • conceal-desktop

    Conceal Desktop (GUI)

  • heisenberg

    Algo trading code, documentation and webinars. (by profitviews)

    Project mention: Webinar from ISO Committee member: C++ HFT, <concepts> - and jobs | /r/highfreqtrading | 2022-09-28

    You can access our Github heisenberg and run our demo algos there against our reference platform FTX.

  • DistributedATS

    DistributedATS is a FIX Protocol based multi matching engine exchange(CLOB) that integrates QuickFIX and LiquiBook over OpenDDS

    Project mention: Low-latency Systems Experience and Side Projects | /r/algotrading | 2022-11-19

    Several open-source projects can give you a head start. QuickFIX https://github.com/quickfix/quickfix FIX is the ABC of electronic trading. FIX is not a low-latency protocol, but it covers all aspects of electronic trading, from authentication to market data to order entry to post-trade reporting. Every trading venue supports FIX, so you must be familiar with it. QuickFIX provides FIX Server and Client implementations for all versions used on the street and python wrappers for all components. LiquiBook https://github.com/enewhuis/liquibook LiquiBook is an example of a low-latency matching engine. This project should give you an idea of how exchange matches orders. Itch-order-book https://github.com/charles-cooper/itch-order-book Itch-order-book is an example of a low-latency code to process market data. This project is an example of how to process millions of order book changes per second. ITCH is a low-latency market data protocol used by NASDAQ DistirbutedATS https://github.com/mkipnis/DistributedATS DistirbutedATS integrates QuickFIX and LiquiBook to create a simple yet functional exchange. DistributedATS is my experimental project so let me know if you have any questions.

  • mbedcrypto

    a portable, small, easy to use and fast c++14 library for cryptography.

  • Dynex-Wallet-App

    Dynex is a next-generation platform for neuromorphic computing based on a new flexible blockchain protocol.

    Project mention: Projected completion of maintenance on the Web Wallet? | /r/Dynexcoin | 2023-04-03

    I attempted to install the Windows desktop app from the github link / releases: https://github.com/dynexcoin/Dynex-Wallet-App/releases/tag/Dynex-Wallet-App

  • i2pchat

    🌀 i2pchat. Anonymous private secure opensource chat using end-to-end encrypted transport. (by i2pchat)

    Project mention: i2p simple messenger | /r/i2p | 2023-05-16

    There is already one here. If you are skilled with C++, then you can take it as a basis. Or just look at how the implementation example.

  • esp8266-crypto

    ESP8266 project to display cryptocurrency and stock prices on an OLED

  • PRCYCoin

    PRivaCY Coin (PRCY) uses Bulletproofs and RingCT & Ring Signatures (Random Sizes 27-32) in a staking chain. With PRCY it is possible to stake, run masternodes and mine PoA blocks.

    Project mention: What are privacy coins' peculiarities?🤔 | /r/SimpleLearnApp | 2022-10-13


  • shard

    Scalable, Fast & Secure POS Cryptocurrency Shaping the Future (by ShardcoinRepo)

  • Dynex-Neuromorphic-Chip

    Dynex has also developed a proprietary circuit design, the Dynex Neuromorphic Chip, that complements the Dynex ecosystem and turns any modern G into a neuromorphic computing chip by simulating its equations of motion. This implementation proofs the mathematical model.

    Project mention: Dynex SAT benchmarks for YalSAT 1.0.1 include no multithreaded results | news.ycombinator.com | 2023-05-24
  • 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-07-01.

C++ Crypto related posts


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

Project Stars
1 Crypto++ 4,177
2 HElib 3,035
3 wallet-core 2,397
4 Botan 2,226
5 cryfs 1,849
6 fhe-toolkit-linux 1,392
7 concrete 868
8 securefs 665
9 react-native-quick-crypto 512
10 okcash 436
11 GpgFrontend 316
12 Dynex 103
13 milo 71
14 conceal-desktop 65
15 heisenberg 58
16 DistributedATS 43
17 mbedcrypto 40
18 Dynex-Wallet-App 32
19 i2pchat 28
20 esp8266-crypto 22
21 PRCYCoin 17
22 shard 16
23 Dynex-Neuromorphic-Chip 10
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.