A package designed to expose cryptographic primitives and recipes to Python developers.
Cryptography in Python
4 projects in Security. Most starred: paramiko, cryptography and itsdangerous.
The cryptography package is the standard choice. It has two layers: high-level recipes such as Fernet for symmetric encryption that are hard to misuse, and a hazmat layer of low-level primitives for when you need a specific algorithm or protocol. PyNaCl binds libsodium and offers an opinionated, small API for authenticated encryption, public-key boxes and signatures, which reduces the number of choices you can get wrong.
pynaclC core
Python binding to libsodium, a fork of the Networking and Cryptography (NaCl) library.