C Cryptography

Open-source C projects categorized as Cryptography

Top 23 C Cryptography Projects

  • openssl

    TLS/SSL and crypto library

    Latest mention: OpenSSL: Support for TLS/DTLS heartbeats (2011) | news.ycombinator.com | 2021-01-17
  • libsodium

    A modern, portable, easy to use crypto library.

    Latest mention: If you're one of the 40 million new Signal users and want to contribute to the cause, you can donate HERE! | reddit.com/r/privacy | 2021-01-15


  • s2n

    s2n : an implementation of the TLS/SSL protocols

    Latest mention: LibreSSL Languishes on Linux | news.ycombinator.com | 2021-01-04

    I would be interested in the other SSL implementations:

    - https://github.com/awslabs/s2n

    - https://boringssl.googlesource.com/boringssl

    - https://bearssl.org/

    Are these subpar implementations or there are other reasons not to use these?

  • mbedtls

    An open source, portable, easy to use, readable and flexible SSL library

  • tiny-AES-c

    Small portable AES128/192/256 in C

  • c-toxcore

    The future of online communications.

    Latest mention: I Had A Friend Called Sahr Online A Long While Ago | reddit.com/r/projecttox | 2021-01-03

    If you're referencing https://github.com/TokTok/c-toxcore/issues/426, the complaint is that if someone gets access to your profile, not only can they impersonate you, which is fairly expected, but they can also impersonate all of your friends to you.

  • themis

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

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

  • portable

    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.

    Latest mention: [gentoo-dev] [News review] LibreSSL support discontinued | reddit.com/r/Gentoo | 2021-01-03

    On the plus side they have Ed25519, on the negative side we don't have BLAKE2 or X25519, etc.

  • pynacl

    Python binding to the Networking and Cryptography (NaCl) library

  • bcrypt

    Modern(-ish) password hashing for your software and your servers

  • firo

    The privacy-focused cryptocurrency

    Latest mention: LLMQ chainlocks are being activated soon! Please update to our latest wallet release v.14.4.0 as soon as possible! | reddit.com/r/FiroProject | 2021-01-21
  • bitcracker

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

    Latest mention: Bitlocker has turned on and never let me set a key and now I can't access my pc. | reddit.com/r/Windows10 | 2020-12-28

    You could try BitCracker (https://github.com/e-ago/bitcracker) - it is a brute force password attack tool (open source).

  • swift-sodium

    Safe and easy to use crypto for iOS and macOS

  • wickr-crypto-c

    An implementation of the Wickr Secure Messaging Protocol in C

    Latest mention: Você vai engolir os novos termos de uso do WhatsApp? | reddit.com/r/privacidade | 2021-01-15

    Aliás fiquei até curioso de estudar mais o protocolo e o código, parece estar bem documentado.

  • cryptofuzz

    Fuzzing cryptographic libraries. Magic bug printer go brrrr.

    Latest mention: Cyber Security; Beginner Roadmap | news.ycombinator.com | 2021-01-17

    I don't have any certs (apart from malformed X509 files..) so I can't speak of their effectiveness. What has worked for me is having a strong presence in open source. I just show people one of my projects like [1] and nobody asks about certs or education, ever. I spend most of my free time on these projects so cultivating a sizeable project might not be a suitable route for anyone who has a life outside of computers, though having some kind of publicly available utility where a prospective employer can check out your coding style and skills is probably a decent way to stand out amidst a sea of applicants.

    [1] https://github.com/guidovranken/cryptofuzz

  • libhydrogen

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

  • retter

    A collection of hash functions, ciphers, tools, libraries, and materials related to cryptography & security. :closed_lock_with_key::closed_lock_with_key::closed_lock_with_key::closed_lock_with_key::closed_lock_with_key: (project was renamed, libchaos is main)

  • hs-cipher-aes

    DEPRECATED - use cryptonite - a comprehensive fast AES implementation for haskell that supports aesni and advanced cryptographic modes.

  • hs-ed25519

    Minimal ed25519 Haskell package, binding to the ref10 SUPERCOP implementation.

  • scrypt

    Haskell bindings to Colin Percival's scrypt implementation.

  • hs-bcrypt

    Haskell bindings for bcrypt

  • xxhash

    Haskell implementation of the XXHash algorithm

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 2021-01-21.


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

Project Stars
1 openssl 14,626
2 libsodium 8,967
3 s2n 3,885
4 mbedtls 2,777
5 tiny-AES-c 2,376
6 c-toxcore 1,443
7 themis 1,191
8 libtomcrypt 1,048
9 portable 979
10 pynacl 749
11 bcrypt 697
12 firo 516
13 bitcracker 446
14 swift-sodium 395
15 wickr-crypto-c 276
16 cryptofuzz 230
17 libhydrogen 227
18 retter 54
19 hs-cipher-aes 22
20 hs-ed25519 18
21 scrypt 16
22 hs-bcrypt 15
23 xxhash 11