C Cryptography

Open-source C projects categorized as Cryptography

Top 23 C Cryptography Projects

  • OpenSSL

    TLS/SSL and crypto library

  • Project mention: Heartbleed and XZ Backdoor Learnings: Open Source Infrastructure Can Be Improved Efficiently With Moderate Funding | dev.to | 2024-04-07

    Today, April 7th, 2024, marks the 10-year anniversary since CVE-2014-0160 was published. This security vulnerability known as "Heartbleed" was a flaw in the OpenSSL cryptography software, the most popular option to implement Transport Layer Security (TLS). In more layman's terms, if you type https:// in your browser address bar, chances are high that you are interacting with OpenSSL.

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

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cjdns

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

  • Project mention: The Hidden World Of Dumps Store | CVV Shops: The Lucrative World of Credit Card Fraud! | /r/darknetplan | 2023-07-09

    This sub is not about TOR and all the seediness that goes on there but rather about creating darknets, by which we/they mean mesh networks and encrypted networks using tools like https://github.com/cjdelisle/cjdns/

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

  • 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
  • Tiny AES128 in C

    Small portable AES128/192/256 in C

  • openssh-portable

    Portable OpenSSH

  • Project mention: Terrapin Attack for prefix injection in SSH | news.ycombinator.com | 2023-12-19

    Unless I'm misunderstanding what this is about RFC5647 merely points out that the sequence number is included as AAD due to RFC4253 requirements. The [email protected] specification is not exactly the most rigorous thing I've ever seen (https://github.com/openssh/openssh-portable/blob/master/PROT...) but reading it, the sequence number is only included in the IV, and not as AAD, which directly runs afoul of the RFC4253 section 6.4 requirement for it to be included in the MAC.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pycryptodome

    A self-contained cryptographic library for Python

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

  • c-toxcore

    The future of online communications.

  • Project mention: Tox Core is one of the nicest-to-read C codebases | news.ycombinator.com | 2024-03-22
  • minisign

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

  • Project mention: Ask HN: What are your favorite tiny, single purpose tools? | news.ycombinator.com | 2024-04-19
  • Themis

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

  • liboqs

    C library for prototyping and experimenting with quantum-resistant cryptography

  • Project mention: Show HN: filippo.io/mlkem768 – Post-Quantum Cryptography for the Go Ecosystem | news.ycombinator.com | 2024-02-01

    How about liboqs from OpenQuantumSafe? It includes an implementation of most PQC primitives proposed to date:


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

  • swift-crypto

    Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.

  • Project mention: Swift for Android: How to use Swift-Crypto with Android Studio | dev.to | 2023-11-14

    dependencies: [ .package(url: "https://github.com/scade-platform/swift-java.git", branch: "main"), .package(url: "https://github.com/apple/swift-crypto.git", .branch("main")) ]

  • 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 [email protected] are welcome.

  • Project mention: OpenSSL 1.1.1 End of Life Approaching | news.ycombinator.com | 2023-06-16
  • trezor-firmware

    :lock: Trezor Firmware Monorepo

  • Project mention: ¿How to start in bitcoin? | /r/Bitcoin | 2023-10-17

    https://trezor.io/ - Easy to use, no matter how new in Bitcoin you're.

  • PyNacl

    Python binding to the Networking and Cryptography (NaCl) library

  • brainflayer

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

  • bitcracker

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

  • Project mention: How to bypass the admin password when Windows(C:) is locked with bitlocker? | /r/Windows11 | 2023-09-13

    Clean reinstall. Or try bitcracker : https://github.com/e-ago/bitcracker

  • kyber

  • SipHash

    High-speed secure pseudorandom function for short messages

  • libhydrogen

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

  • SaaSHub

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

    SaaSHub 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). The latest post mention was on 2024-04-19.

C Cryptography related posts


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

Project Stars
1 OpenSSL 24,142
2 libsodium 11,910
3 cjdns 5,138
4 mbedTLS 4,898
5 s2n 4,446
6 Tiny AES128 in C 4,012
7 openssh-portable 2,796
8 pycryptodome 2,656
9 wolfssl 2,166
10 c-toxcore 2,156
11 minisign 1,949
12 Themis 1,807
13 liboqs 1,600
14 LibTomCrypt 1,477
15 swift-crypto 1,400
16 LibreSSL 1,313
17 trezor-firmware 1,254
18 PyNacl 1,032
19 brainflayer 862
20 bitcracker 760
21 kyber 686
22 SipHash 593
23 libhydrogen 576
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives