Cryptography
This wiki is in the process of being archived due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies. Edits are discouraged.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.
Python includes several modules for hashing and even basic ssl support which is integrated into the socket module.
For more serious cryptography work, have a look at the following extension modules.
Interfaces to OpenSSL
OpenSSL is an open-source library that implements SSL and comes with a large number of very fast crypto and hash algorithm implementations.
M2Crypto - Python interface to OpenSSL
pyOpenSSL - Python interface to OpenSSL, with focus on SSL networking
eGenix pyOpenSSL Distribution - An easy-to-install distribution of pyOpenSSL
Stand-alone Cryptographic Libraries
Python Cryptography Toolkit - A collection of crypto-related algorithms and protocols implemented as Python extension
Resources
python-crypto Mailing List - A mailing list for discussing Python and cryptography