C Crypto

Open-source C projects categorized as Crypto

Top 21 C Crypto Projects

  • libsodium

    A modern, portable, easy to use crypto library.

    Project mention: Libsodium: A modern, portable, easy to use crypto library | /r/hackernews | 2023-09-18
  • mbedTLS

    An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.

    Project mention: OpenWrt 23.05 | news.ycombinator.com | 2023-10-13

    It's work in progress: https://github.com/Mbed-TLS/mbedtls/blob/development/docs/ar...

    Newer version have okay-ish support, I'd guess the next OpenWRT release will have it again.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • GmSSL


  • s2n

    An implementation of the TLS/SSL protocols

    Project mention: S2n-TLS – A C99 implementation of the TLS/SSL protocol | /r/programming | 2023-12-05
  • minisign

    A dead simple tool to sign files and verify digital signatures.

    Project mention: PGP signatures on PyPI: worse than useless | /r/netsec | 2023-05-21

    There are alternatives, minisign and signify.

  • subzero

    Block's Bitcoin Cold Storage solution.

  • glorytun

    Multipath UDP tunnel

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

  • kyber

    Project mention: Quantum Computers Break Encryption in China But Far From Cracking Bitcoin | /r/CryptoCurrency | 2023-01-10

    I wouldn’t even be worried about the banks, any mode of encryption used for data would be at stake, but there’s already some algos that are quantum secure made by Crystal Kyber. Here’s their git repo: https://github.com/pq-crystals/kyber.git

  • mako

    Bitcoin node written in C (by chjj)

  • libhydrogen

    A lightweight, secure, easy-to-use crypto library suitable for constrained environments.

    Project mention: raddi.net - status update 2023/01 | /r/raddi | 2023-02-08

    The single round-trip initial Diffie-Hellman key exchange is susceptible to MITM attack, as has been demonstrated to me by a fan of the project. I'll be changing it to XX key exchange from libhydrogen. Either directly, or I'll use libsodium primitives to reimplement the same thing.

  • swtpm

    Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.

    Project mention: Is it possible to run a Windows 11 Virtual Machine on Linux? | /r/linuxquestions | 2023-04-16

    Or you can just add a virtual tpm device in virt-manager while setting up the vm using swtpm. It seems to ha e packages on most major distro's.

  • CTFs

    CTF Cheat Sheet + Writeups / Files for some of the Cyber CTFs that I've done

    Project mention: Sharing my extensive CTF cheat sheet, startup guide, resource list, and writeup repository: | /r/netsecstudents | 2023-02-03
  • tpm2-pkcs11

    A PKCS#11 interface for TPM2 hardware

    Project mention: Linux Protection Against Theft | /r/linuxquestions | 2023-11-02

    TPM for SSH keys storage - https://github.com/tpm2-software/tpm2-pkcs11

  • Zenroom

    Embedded no-code VM executing human-like language to manipulate data and process cryptographic operations.

    Project mention: Zenroom: NEW Data - star count:153.0 | /r/algoprojects | 2023-02-25
  • charm

    A really tiny crypto library. (by jedisct1)

  • tpm2-tss-engine

    OpenSSL Engine for TPM2 devices

  • denarius

    Denarius [$D] is a PoW/PoS Hybrid Cryptocurrency with Tribus a new PoW Hashing Algo built specifically for D, one of a kind hybrid masternodes called Fortuna Stakes, atomic swaps, staking, mining, IPFS, optional Native Tor and I2P, and much more!

  • CatCrypto

    An easy way for hashing and encryption.

  • cpace

    A CPace PAKE implementation using libsodium.

  • NewFinance

    Multi Party Secured Mobile Bitcoin Wallet

    Project mention: Superlight - Open Source Bitcoin Wallet | /r/coolgithubprojects | 2023-06-16
  • purr-c

    Pure C client for PurritoBin and other networking projects

  • SaaSHub

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

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-12-05.

C Crypto related posts


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

Project Stars
1 libsodium 11,623
2 mbedTLS 4,614
3 GmSSL 4,403
4 s2n 4,397
5 minisign 1,869
6 subzero 663
7 glorytun 613
8 kyber 580
9 mako 556
10 libhydrogen 541
11 swtpm 488
12 CTFs 381
13 tpm2-pkcs11 234
14 Zenroom 172
15 charm 148
16 tpm2-tss-engine 133
17 denarius 107
18 CatCrypto 65
19 cpace 30
20 NewFinance 11
21 purr-c 1
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives