C++ Encryption

Open-source C++ projects categorized as Encryption

Top 23 C++ Encryption Projects

  1. SEAL

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

  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. fully-homomorphic-encryption

    An FHE compiler for C++

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

  5. cryfs

    Cryptographic filesystem for the cloud

    Project mention: CryFS: A Cryptographic Filesystem for the Cloud | news.ycombinator.com | 2024-11-29
  6. apfs-fuse

    FUSE driver for APFS (Apple File System)

  7. react-native-mmkv-storage

    An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI

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

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

    heavily vectorized c++17 compile time string encryption.

  11. steganography

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

  12. securefs

    Filesystem in userspace (FUSE) with transparent authenticated encryption

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

  14. EncryptPad

    Minimalist secure text editor and binary encryptor that implements RFC 4880 Open PGP format: symmetrically encrypted, compressed and integrity protected. The editor can protect files with passwords, key files or both.

  15. peekaboo

    Simple undetectable shellcode and code injector launcher example. Inspired by RTO malware development course.

  16. DISCoHAsH

    :rocket: DISCoHAsH - Simple, fast, quality hash in 120 lines. 10GB/s serial (depending on hardware). Also in NodeJS

  17. plusaes

    Header only C++ AES cipher library

  18. CIDLib

    The CIDLib general purpose C++ development environment

  19. crash

    crypted admin shell: SSH-like strong crypto remote admin shell for Linux, BSD, Android, Solaris and OSX (by stealth)

  20. DAR

    DAR - Disk ARchive, a fully featured backup tool

    Project mention: Hackers now use ZIP file concatenation to evade detection | news.ycombinator.com | 2024-11-15

    DAR (Disk ARchiver)[1] looks to be a good alternative. It supports random access, encryption, and individual file compression within the archive.

    [1] http://dar.linux.free.fr/

  21. psc

    E2E encryption for multi-hop tty sessions or portshells + TCP/UDP port forward

  22. conceal-core

    Conceal Core (CLI)

  23. ZeeArchiver-Android

    Zee is an efficient and simple to use Android Archiver and decompressor. It can decompress and compress from-to all the formats supported by the well known 7zip utility. Copyright © 2018 Mahmoud Galal , for support contact me:[email protected]

  24. stenc

    SCSI Tape Encryption Manager - stenc (formerly on https://sourceforge.net/projects/stenc/)

  25. librengine

    Privacy Web Search Engine (not meta, own crawler)

  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++ Encryption discussion

Log in or Post with

C++ Encryption related posts

  • Briar: Peer to Peer Encrypted Messaging

    12 projects | news.ycombinator.com | 14 Mar 2025
  • On Intel SGX, is it possible to set an executable running such that you, the operator, cannot decrypt its state?

    1 project | /r/crypto | 7 Dec 2023
  • My Mother Found Out I was Installing Linux...

    4 projects | /r/linux | 10 Jul 2023
  • Help with USB drive encryption

    2 projects | /r/cybersecurity_help | 5 Jul 2023
  • Ask HN: What are the U.S. requirements for releasing OSS that uses encryption?

    1 project | news.ycombinator.com | 11 Jun 2023
  • I used to work for apple

    1 project | /r/computer | 3 Jun 2023
  • How do you get ownership over all the folders and files on a usb disk

    1 project | /r/SteamDeck | 21 May 2023
  • A note from our sponsor - Sevalla
    sevalla.com | 1 Sep 2025
    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! Learn more →

Index

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

# Project Stars
1 SEAL 3,855
2 fully-homomorphic-encryption 3,602
3 HElib 3,212
4 cryfs 2,134
5 apfs-fuse 1,977
6 react-native-mmkv-storage 1,709
7 concrete 1,426
8 xorstr 1,343
9 steganography 1,047
10 securefs 791
11 opmsg 753
12 EncryptPad 451
13 peekaboo 254
14 DISCoHAsH 218
15 plusaes 218
16 CIDLib 213
17 crash 198
18 DAR 159
19 psc 124
20 conceal-core 100
21 ZeeArchiver-Android 88
22 stenc 77
23 librengine 71

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?