Ranked awesome lists, all in one place
This list is a copy of sobolevn/awesome-cryptography with ranks
Awesome Cryptography ★87749
A curated list of cryptography resources and links.
Contents
Theory
Algorithms
Symmetric encryption
- 3DES - Symmetric-key block cipher (or Triple Data Encryption Algorithm (TDEA or Triple DEA), which applies the Data Encryption Standard (DES) cipher algorithm three times to each data block.
- AES - Symmetric-key block cipher algorithm and U.S. government standard for secure and classified data encryption and decryption (also known as Rijndael).
- Blowfish - Symmetric-key block cipher, designed in 1993 by Bruce Schneier. Notable features of the design include key-dependent S-boxes and a highly complex key schedule.
Asymmetric encryption
- RSA - One of the first practical public-key cryptosystems and is widely used for secure data transmission. In RSA, this asymmetry is based on the practical difficulty of factoring the product of two large prime numbers, the factoring problem.
Hash functions
- MD5 - Widely used hash function producing a 128-bit hash value. MD5 was initially designed to be used as a cryptographic hash function, but it has been found to suffer from extensive vulnerabilities. It can still be used as a checksum to verify data integrity, but only against unintentional corruption.
- SHA1 - Cryptographic hash function designed by the NSA. SHA-1 produces a 160-bit hash value known as a message digest. SHA-1 is no longer considered secure against well-funded opponents.
- SHA2 - Set of hash functions designed by the NSA. SHA-256 and SHA-512 are novel hash functions computed with 32-bit and 64-bit words, respectively. They use different shift amounts and additive constants, but their structures are otherwise virtually identical, differing only in the number of rounds.
Articles
- How to Generate Secure Random Numbers in Various Programming Languages.
- Secure Account Recovery Made Simple.
Books
- A Graduate Course in Applied Cryptography - The book covers many constructions for different tasks in cryptography.
- An Introduction to Mathematical Cryptography - Introduction to modern cryptography.
- Crypto101 - Crypto 101 is an introductory course on cryptography.
- Cryptography Engineering - Learn to build cryptographic protocols that work in the real world.
- Handbook of Applied Cryptography - This book is intended as a reference for professional cryptographers.
- Introduction to Modern Cryptography - Introductory-level treatment of cryptography written from a modern, computer science perspective.
- OpenSSL Cookbook - The book about OpenSSL.
- Security Engineering - There is an extraordinary textbook written by Ross Anderson, professor of computer security at University of Cambridge.
- The Cryptoparty Handbook - This book provides a comprehensive guide to the various topics of the computer and internet security.
- Understanding Cryptography - Often overlooked, this book is a boon for beginners to the field. It contains plenty of exercises at the end of each chapter, aimed at reinforcing concepts and cementing ideas.
Courses
- A Self-Study Course In Block-Cipher Cryptanalysis -This paper attempts to organize the existing literature of block-cipher cryptanalysis in a way that students can use to learn cryptanalytic techniques and ways to break algorithms, by Bruce Schneier.
- Applied Cryptography - Cryptography is present in everyday life, from paying with a credit card to using the telephone. Learn all about making and breaking puzzles in computing.
- Crypto Strikes Back! - This talk will cover crypto vulnerabilities in widely-deployed systems and how the smallest oversight resulted in catastrophe.
- Cryptography - A practical oriented course in Cryptography by University of Maryland College Park.
- Cryptography - Stanford University - This course explains the inner workings of cryptographic primitives and how to correctly use them. Students will learn how to reason about the security of cryptographic constructions and how to apply this knowledge to real-world applications.
- Cryptography I - The course begins with a detailed discussion of how two parties who have a shared secret key can communicate securely when a powerful adversary eavesdrops and tampers with traffic. We will examine many deployed protocols and analyze mistakes in existing systems.
- Cybrary Cryptography - This online course we will cover how cryptography is the cornerstone of security, and how through its use of different encryption methods, such as ciphers, and public or private keys, you can protect private or sensitive information from unauthorized access.
- Journey into cryptography - The course of cryptography by Khan Academy.
- Practical Aspects of Modern Cryptography - Practical Aspects of Modern Cryptography, Winter 2006 University of Washington CSE.
- Theory and Practice of Cryptography - Introduction to Modern Cryptography, Using Cryptography in Practice and at Google, Proofs of Security and Security Definitions and A Special Topic in Cryptography.
Tools
Standalone
- Bcrypt - Cross-platform file encryption utility.
- blackbox ★4244 - safely store secrets in Git/Mercurial/Subversion.
- certbot ★22338 - Previously the Let’s Encrypt Client, is EFF’s tool to obtain certs from Let’s Encrypt, and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.
- cryptomator ★2220 - Multi-platform transparent client-side encryption of your files in the cloud.
- gpg - Complete and free implementation of the OpenPGP standard. It allows to encrypt and sign your data and communication, features a versatile key management system. GnuPG is a command line tool with features for easy integration with other applications.
- ironssh ★49 ⏳1Y - End-to-end encrypt transferred files using sftp/scp and selectively share with others. Automatic key management works with any SSH server. Encrypted files are gpg compatible.
- Nipe ★320 - Nipe is a script to make Tor Network your default gateway.
Plugins
Git
- git-crypt ★3033 - Transparent file encryption in git.
- git-secret - Bash-tool to store your private data inside a git repository.
Frameworks and Libs
C
- crypto-algorithms ★589 - Basic implementations of standard cryptography algorithms, like AES and SHA-1.
- libgcrypt - Cryptographic library developed as a separated module of GnuPG.
- libsodium ★5760 - Modern and easy-to-use crypto library.
- libtomcrypt ★694 - Fairly comprehensive, modular and portable cryptographic toolkit.
- monocypher - small, portable, easy to use crypto library inspired by libsodium and TweetNaCl.
- NaCl - High-speed library for network communication, encryption, decryption, signatures, etc.
- OpenSSL ★7315 - TLS/SSL and crypto library.
- PolarSSL - PolarSSL makes it trivially easy for developers to include cryptographic and SSL/TLS capabilities in their (embedded) products, facilitating this functionality with a minimal coding footprint.
- RHash ★180 - Great utility for computing hash sums.
- themis ★536 - High level crypto library for storing data (AES), secure messaging (ECC + ECDSA / RSA + PSS + PKCS#7) and session-oriented, forward secrecy data exchange (ECDH key agreement, ECC & AES encryption). Ported on many languages and platforms, suitable for client-server infastructures.
- tiny-AES128-C - Small portable AES128 in C.
- wolfSSL ★399 - Small, fast, portable implementation of TLS/SSL for embedded devices to the cloud.
- xxHash ★2008 - Extremely fast hash algorithm.
C++
- Botan - Cryptography library written in
C++11
. - cryptopp ★1167 - Crypto++ Library is a free C++ class library of cryptographic schemes.
- HElib ★1614 - Software library that implements homomorphic encryption (HE).
- Nettle - Low-level cryptographic library.
- s2n ★3127 - Implementation of the TLS/SSL protocols.
C-sharp
- Bouncy Castle - All-purpose cryptographic library.
- libsodium-net ★275 - Secure cryptographic library, port of libsodium for .NET.
- Microsoft .NET Framework Cryptography Model - The .NET Framework implementations of many standard cryptographic algorithms.
- PCLCrypto ★181 - Provides cryptographic APIs over algorithms implemented by the platform, including exposing them to portable libraries.
- SecurityDriven.Inferno ★361 - .NET crypto done right.
- StreamCryptor ★73 ⏳1Y - Stream encryption & decryption with libsodium and protobuf.
Clojure
- buddy-core - Cryptographic Api.
- clj-crypto ★24 ⏳1Y - Wrapper for Bouncy Castle.
- pandect ★186 ⏳1Y - Fast and easy-to-use Message Digest, Checksum and HMAC library for Clojure.
Common Lisp
- crypto-shortcuts ★11 - Collection of common cryptography functions.
- ironclad - Collection of common crypto shortcuts.
- trivial-ssh ★18 ⏳1Y - SSH client library for Common Lisp (Built on libssh2).
Delphi
- DelphiEncryptionCompendium - Cryptographic library for Delphi.
- LockBox - LockBox 3 is a Delphi library for cryptography.
- SynCrypto - Fast cryptographic routines (hashing and cypher), implementing AES, XOR, RC4, ADLER32, MD5, SHA1, SHA256 algorithms, optimized for speed.
- TForge - TForge is open-source crypto library written in Delphi, compatible with FPC.
Elixir
- cipher ★47 - Elixir crypto library to encrypt/decrypt arbitrary binaries.
- cloak ★216 - Cloak makes it easy to use encryption with Ecto.
- comeonin - Password authorization (bcrypt) library for Elixir.
- elixir-rsa ★18 -
:public_key
cryptography wrapper for Elixir. - elixir_tea ★1 ⏳3Y - TEA implementation in Elixir.
- ex_crypto ★63 - Elixir wrapper for Erlang
:crypto
and:public_key
modules. Provides sensible defaults for many crypto functions to make them easier to use. - exgpg ★12 ⏳2Y - Use gpg from Elixir.
- pot ★87 - Erlang library for generating one time passwords compatible with Google Authenticator.
- siphash-elixir - Elixir implementation of the SipHash hash family.
Erlang
- crypto - Functions for computation of message digests, and functions for encryption and decryption.
- public_key - Provides functions to handle public-key infrastructure.
Go
- crypto - Official Website Resources.
- cryptoballot ★124 - Cryptographically secure online voting.
- dedis/crypto - Advanced crypto library for the Go language.
- dkeyczar ★107 - Port of Google’s Keyczar cryptography library to Go.
- gocrypto ★94 ⏳3Y - Example source code for the Practical Crypto with Go book.
- goThemis - Go wrapper on Themis. High level crypto library for storing data (AES), secure messaging (ECC + ECDSA / RSA + PSS + PKCS#7) and session-oriented, forward secrecy data exchange (ECDH key agreement, ECC & AES encryption).
Haskell
- Cryptography - Collaborative Hackage list.
- Cryptography & Hashing - Official Website of Haskell.
- cryptol ★696 - The Language of Cryptography.
- Cryptonite - Haskell repository of cryptographic primitives.
- HsOpenSSL - OpenSSL binding for Haskel.
- scrypt ★13 ⏳2Y - Haskell bindings to Colin Percival’s scrypt implementation.
Haxe
- haxe-crypto - Haxe Cryptography Library.
JavaScript
- asmCrypto - JavaScript implementation of popular cryptographic utilities with performance in mind.
- bcrypt-nodejs ★552 - Native implementation of bcrypt for NodeJS.
- cifre - Fast crypto toolkit for modern client-side JavaScript.
- closure-library - Google’s common JavaScript library.
- cryptico ★864 - Easy-to-use encryption system utilizing RSA and AES for javascript.
- crypto-js ★4417 - JavaScript library of crypto standards.
- cryptojs ★254 ⏳6Y - Provide standard and secure cryptographic algorithms for NodeJS.
- forge ★2510 - Native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps.
- javascript-crypto-library ★245 ⏳2Y - JavaScript Crypto Library provides web developers with an extensive and efficient set of cryptographic functions.
- js-nacl ★407 ⏳1Y - Pure-Javascript High-level API to Emscripten-compiled libsodium routines.
- jsencrypt ★2328 - Javascript library to perform OpenSSL RSA Encryption, Decryption, and Key Generation.
- JShashes ★419 ⏳1Y - Fast and dependency-free cryptographic hashing library for node.js and browsers (supports MD5, SHA1, SHA256, SHA512, RIPEMD, HMAC).
- jsrsasign ★1556 - The ‘jsrsasign’ (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation.
- jsThemis - Javascript wrapper on Themis. High level crypto library for storing data (AES), secure messaging (ECC + ECDSA / RSA + PSS + PKCS#7) and session-oriented, forward secrecy data exchange (ECDH key agreement, ECC & AES encryption).
- libsodium.js ★354 - libsodium compiled to pure JavaScript, with convenient wrappers.
- node.bcrypt.js - bcrypt for NodeJS.
- OpenPGP.js ★3371 - OpenPGP implementation for JavaScript.
- PolyCrypt ★265 ⏳3Y - Pure JS implementation of the WebCrypto API.
- rusha ★246 - High-performance pure-javascript SHA1 implementation suitable for large binary data, reaching up to half the native speed.
- sjcl ★5001 - Stanford Javascript Crypto Library.
- URSA - RSA public/private key OpenSSL bindings for Node.
Java
- Apache Shiro - Performs authentication, authorization, cryptography and session management.
- Bouncy Castle - All-purpose cryptographic library. JCA provider, wide range of functions from basic helpers to PGP/SMIME operations.
- Flexiprovider - Powerful toolkit for the Java Cryptography Architecture.
- GDH ★30 - Generalized Diffie-Hellman key exchange Java library for multiple parties built on top of the Vert.x framework.
- Google Keyczar ★1011 - Easy to use, yet safe encryption framework with key versioning.
- Google Tink ★1043 - A small crypto library that provides a safe, simple, agile and fast way to accomplish some common crypto tasks.
- Java Themis - Java/Android wrapper on Themis. High level crypto library for storing data (AES), secure messaging (ECC + ECDSA / RSA + PSS + PKCS#7) and session-oriented, forward secrecy data exchange (ECDH key agreement, ECC & AES encryption).
- keywhiz ★1951 - A system for distributing and managing secrets.
- pac4j ★1269 - Security engine.
- scrypt ★357 - Pure Java implementation of the scrypt key derivation function and a JNI interface to the C implementations, including the SSE2 optimized version.
Julia
- Crypto.jl ★4 ⏳1Y - Library that wraps OpenSSL, but also has pure Julia implementations for reference.
- MbedTLS.jl ★8 - Wrapper around the mbed TLS and cryptography C libary.
- Nettle.jl ★15 - Julia wrapper around nettle cryptographic hashing/ encryption library providing MD5, SHA1, SHA2 hashing and HMAC functionality, as well as AES encryption/decryption.
- SHA.jl ★20 - Performant, 100% native-julia SHA1, SHA2-{224,256,384,512} implementation.
Lua
- lua-lockbox ★223 - Collection of cryptographic primitives written in pure Lua.
- LuaCrypto ★64 ⏳2Y - Lua bindings to OpenSSL.
Objective-C
- CocoaSecurity ★960 ⏳1Y - AES, MD5, SHA1, SHA224, SHA256, SHA384, SHA512, Base64, Hex.
- ObjC Themis - ObjC wrapper on Themis for iOS and MacOS. High level crypto library for storing data (AES), secure messaging (ECC + ECDSA / RSA + PSS + PKCS#7) and session-oriented, forward secrecy data exchange (ECDH key agreement, ECC & AES encryption).
- ObjectivePGP ★414 - ObjectivePGP is an implementation of OpenPGP protocol for iOS and macOS. OpenPGP is the most widely used email encryption standard.
- RNCryptor ★2880 - CCCryptor (AES encryption) wrappers for iOS and Mac.
PHP
- halite - Simple library for encryption using
libsodium
. - libsodium-laravel ★18 ⏳2Y - Laravel Package Abstraction using
libsodium
. - PHP Encryption ★1852 - Library for encrypting data with a key or password in PHP.
- PHP Themis - PHP wrapper on Themis. High level crypto library for storing data (AES), secure messaging (ECC + ECDSA / RSA + PSS + PKCS#7) and session-oriented, forward secrecy data exchange (ECDH key agreement, ECC & AES encryption).
- TCrypto ★51 ⏳1Y - TCrypto is a simple and flexible PHP 5.3+ in-memory key-value storage library.
Python
- bcrypt ★403 - Modern password hashing for your software and your servers.
- charm ★221 - Framework for rapidly prototyping cryptosystems.
- cryptography - Python library which exposes cryptographic recipes and primitives.
- cryptopy - Pure python implmentation of cryptographic algorithms and applications.
- hashids ★767 - Implementation of hashids in Python.
- paramiko - Python implementation of the SSHv2 protocol, providing both client and server functionality.
- Privy ★200 - An easy, fast lib to correctly password-protect your data.
- pycryptodome ★481 - Self-contained Python package of low-level cryptographic primitives.
- PyElliptic ★102 ⏳1Y - Python OpenSSL wrapper. For modern cryptography with ECC, AES, HMAC, Blowfish.
- pynacl ★490 - Python binding to the Networking and Cryptography (NaCl) library.
- pythemis - Python wrapper on Themis. High level crypto library for storing data (AES), secure messaging (ECC + ECDSA / RSA + PSS + PKCS#7) and session-oriented, forward secrecy data exchange (ECDH key agreement, ECC & AES encryption).
R
- rscrypt ★19 ⏳1Y - Package for a collection of scrypt cryptographic functions.
Ruby
- bcrypt-ruby ★1341 - Ruby binding for the OpenBSD bcrypt() password hashing algorithm, allowing you to easily store a secure hash of your users’ passwords.
- RbNaCl - Ruby binding to the Networking and Cryptography (NaCl) library.
- Ruby Themis - Ruby wrapper on Themis. High level crypto library for storing data (AES), secure messaging (ECC + ECDSA / RSA + PSS + PKCS#7) and session-oriented, forward secrecy data exchange (ECDH key agreement, ECC & AES encryption).
Rust
- octavo ★123 - Highly modular & configurable hash & crypto library.
- proteus ★305 - Axolotl protocol implementation, without header keys, in Rust.
- ring ★904 - Safe, fast, small crypto using Rust & BoringSSL’s cryptography primitives.
- rust-crypto ★734 - Mostly pure-Rust implementation of various cryptographic algorithms.
- rust-openssl ★383 - OpenSSL bindings for Rust.
- rustls ★725 - Rustls is a new, modern TLS library written in Rust.
- sodiumoxide - Sodium Oxide: Fast cryptographic library for Rust (bindings to libsodium).
- suruga ★120 ⏳2Y - TLS 1.2 implementation in Rust.
- webpki ★125 - Web PKI TLS X.509 certificate validation in Rust.
Scala
- scrypto ★131 - Cryptographic primitives for Scala.
- tsec ★167 - A type-safe, functional, general purpose security and cryptography library.
Swift
- CryptoSwift ★5688 - Crypto related functions and helpers for Swift implemented in Swift programming language.
- IDZSwiftCommonCrypto ★379 - Wrapper for Apple’s CommonCrypto library written in Swift.
- OpenSSL - Swift OpenSSL for OS X and Linux.
- SweetHMAC ★36 ⏳1Y - Tiny and easy to use Swift class to encrypt strings using HMAC algorithms.
- Swift-Sodium ★245 - Swift interface to the Sodium library for common crypto operations for iOS and OS X.
- SwiftSSL ★188 ⏳2Y - Elegant crypto toolkit in Swift.
- SwiftThemis - Swift wrapper on Themis for iOS and MacOS. High level crypto library for storing data (AES), secure messaging (ECC + ECDSA / RSA + PSS + PKCS#7) and session-oriented, forward secrecy data exchange (ECDH key agreement, ECC & AES encryption).
Resources
Blogs
- A Few Thoughts on Cryptographic Engineering - Some random thoughts about crypto.
- Bristol Cryptography Blog - Official blog for the University of Bristol cryptography research group. It’s a group blog, primarily targeted towards cryptographers and crypto students.
- Charles Engelke’s Blog - WebCrypto Blog Posts.
- Root Labs rdist - Nate Lawson and his co-authors write on a variety of topics including hardware implementation, cryptographic timing attacks, DRM, and the Commodore 64.
- Schneier on security - One of the oldest and most famous security blogs. Bruce covers topics from block cipher cryptanalysis to airport security.
Mailing lists
- metzdowd.com - “Cryptography” is a low-noise moderated mailing list devoted to cryptographic technology and its political impact.
- Modern Crypto - Forums for discussing modern cryptographic practice.
- randombit.net - List for general discussion of cryptography, particularly the technical aspects.
Web-tools
- Cryptolab - is a set of cryptography related tools.
- CrypTool - Great variety of ciphers, encryption methods and analysis tools are introduced, often together with illustrated examples.
- CyberChef - a web app for encryption, encoding, compression, and data analysis.
- keybase.io - Keybase maps your identity to your public keys, and vice versa.
Web-sites
- Cryptography Stackexchange - Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography.
- Cryptopals Crypto Challenges - A series of applied cryptography challenges, starting from very basic challenges, such as hex to base 64 challanges, and gradually increasing the difficulty up to abstract algebra.
- Garykessler Crypto - An Overview of Cryptography.
- IACR - The International Association for Cryptologic Research is a non-profit scientific organization whose purpose is to further research in cryptology and related fields.
- Learn Cryptography - Dedicated to helping people understand how and why the cryptographic systems they use everyday without realizing work to secure and protect their privacy.
- Subreddit of Cryptography - This subreddit is intended for links and discussions surrounding the theory and practice of strong cryptography.
- WebCryptoAPI - This specification describes a JavaScript API for performing basic cryptographic operations in web applications, such as hashing, signature generation and verification, and encryption and decryption.
Contributing
Your contributions are always welcome! Please take a look at the contribution guidelines first.
License
awesome-cryptography
by @sobolevn
To the extent possible under law, the person who associated CC0 with
awesome-cryptography
has waived all copyright and related or neighboring
rights to awesome-cryptography
.
You should have received a copy of the CC0 legalcode along with this work. If not, see https://creativecommons.org/publicdomain/zero/1.0/. —
This list is a copy of sobolevn/awesome-cryptography with ranks