C Cryptography

Open-source C projects categorized as Cryptography

Top 23 C Cryptography Projects

Cryptography
  1. OpenSSL

    General purpose TLS and crypto library

    Project mention: Building a web server in aarch64 assembly to give my life (a lack of) meaning | news.ycombinator.com | 2026-05-11

    You could borrow the output of the perl scripts from openssl.

    https://github.com/openssl/openssl/blob/master/crypto/aes/as...

  2. SaaSHub

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

    SaaSHub logo
  3. libsodium

    A modern, portable, easy to use crypto library.

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

  5. cjdns

    An encrypted IPv6 network using public-key cryptography for address allocation and a distributed hash table for routing.

    Project mention: Cjdns – An encrypted IPv6 overlay network using public-key cryptography | news.ycombinator.com | 2025-06-23
  6. Tiny AES128 in C

    Small portable AES128/192/256 in C

  7. s2n

    An implementation of the TLS/SSL protocols

    Project mention: AI found 12 vulnerabilities in OpenSSL | news.ycombinator.com | 2026-01-27
  8. openssh-portable

    Portable OpenSSH

    Project mention: FreeBSD Capsicum vs. Linux Seccomp Process Sandboxing | news.ycombinator.com | 2026-03-09
  9. pycryptodome

    A self-contained cryptographic library for Python

  10. liboqs

    C library for prototyping and experimenting with quantum-resistant cryptography

  11. wolfssl

    The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3! Update to wolfSSL 5.9.1 for the latest CVE fixes.

    Project mention: AI found 12 vulnerabilities in OpenSSL | news.ycombinator.com | 2026-01-27

    I wanted to mention WolfSSL.

    I like to recommend that project because it has a very transparent vulnerabilities approach, and is in my opinion written a lot more sane than OpenSSL which is somewhat not using standard C features because it always implements everything from scratch like a kernel does.

    But yeah, anyways, WolfSSL comes from the embedded area in case that's your thing.

    [1] https://www.wolfssl.com/

    [2] https://github.com/wolfssl/wolfssl

  12. minisign

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

    Project mention: The PGP Problem (2019) | news.ycombinator.com | 2026-01-02

    The biggest issue with PGP/gpg is the difficulty of getting rid of it. If you work on big distros, or know someone who works on big distros, please (start asking them to) add https://github.com/jedisct1/minisign to pre-installed packages to facilitate transition. It's almost a chicken egg problem but the sad thing is, no project wants to swap the signing tool to a better one until everyone can verify the new signatures.

  13. c-toxcore

    The future of online communications.

  14. Themis

    Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.

  15. LibTomCrypt

    LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.

  16. trezor-firmware

    :lock: Trezor Firmware Monorepo

  17. LibreSSL

    LibreSSL Portable itself. This includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code. Pull requests or patches sent to tech@openbsd.org are welcome.

    Project mention: PVS-Studio in CMake: It's official now! | dev.to | 2026-05-18

    We'll go over the analysis process using the example of the LibreSSL cryptographic library, which is a hard fork of OpenSSL designed to improve the codebase quality, security, and maintenance. The examples of command-line commands are written for Windows.

  18. pico-fido

    FIDO Passkey for Raspberry Pico and ESP32

    Project mention: Flipper Zero DarkWeb Firmware Bypasses Rolling Code Security | news.ycombinator.com | 2025-08-07

    You jest but there's no reason to stick with twenty year old component restrictions in a car that costs forty grand.

    The real cost will be in the software validation and road safety hardening, but there's no reason why the ROM size should be limited to kilobytes.

    You can implement full passkey cryptography on a basic esp32 (https://github.com/polhenarejos/pico-fido). Cut out the cruft and you can definitely get a similarly secure algorithm on an actual car key or key receiver.

    And honestly, with cars now unlocking over Bluetooth and WiFi, standardising that process to something like FIDO wouldn't even be that awful of an idea. It certainly beats the "we can do cryptography at home" many car manufacturers seem to be going for.

  19. kyber

  20. PyNacl

    Python binding to the Networking and Cryptography (NaCl) library

  21. brainflayer

    A proof-of-concept cracker for cryptocurrency brainwallets and other low entropy key algorithms.

  22. bitcracker

    BitCracker is the first open source password cracking tool for memory units encrypted with BitLocker

  23. Hacking-Tools

    This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

  24. CTFs

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

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

  • wolfSSL releases a new product; wolfCOSE a zero alloc C embbedded COSE stack

    2 projects | news.ycombinator.com | 30 May 2026
  • PVS-Studio in CMake: It's official now!

    2 projects | dev.to | 18 May 2026
  • How to Design an AI Agent That Survives Infrastructure Changes

    2 projects | dev.to | 12 May 2026
  • The Agent Space Is About to Have Its TCP/IP Moment. Here Is What That Means for Builders.

    3 projects | dev.to | 11 May 2026
  • MCP, A2A, and Pilot Protocol Are Not Competing. Your Agent Stack Probably Needs All Three.

    2 projects | dev.to | 11 May 2026
  • My Agent Has Been Running for 60 Days. It Has Never Had the Same IP Twice.

    3 projects | dev.to | 11 May 2026
  • Building a web server in aarch64 assembly to give my life (a lack of) meaning

    4 projects | news.ycombinator.com | 11 May 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 OpenSSL 30,267
2 libsodium 13,731
3 mbedTLS 6,693
4 cjdns 5,391
5 Tiny AES128 in C 4,906
6 s2n 4,732
7 openssh-portable 3,865
8 pycryptodome 3,232
9 liboqs 2,963
10 wolfssl 2,854
11 minisign 2,752
12 c-toxcore 2,648
13 Themis 1,966
14 LibTomCrypt 1,772
15 trezor-firmware 1,729
16 LibreSSL 1,476
17 pico-fido 1,234
18 kyber 1,198
19 PyNacl 1,195
20 brainflayer 999
21 bitcracker 963
22 Hacking-Tools 838
23 CTFs 830

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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