A Python crypto and SSL toolkit
Actively maintained. Last release 7 weeks ago. A safe choice.
pip install m2cryptoM2Crypto
M2Crypto = Python + OpenSSL + SWIG
NOTE: This library is currently in maintenance mode (and it has been in it since 2014 and I don’t plan to stop maintaining it anytime soon). For new applications we recommend using a more modern alternative such as PyCA/cryptography. Examples of how to migrate can be found in the documentation.
M2Crypto is a crypto and SSL toolkit for Python.
M2 stands for "me, too!"
M2Crypto comes with the following:
- RSA, DSA, DH, HMACs, message digests, symmetric ciphers including AES,
- TLS functionality to implement clients and servers.
- Example SSL client and server programs, which are variously threading, forking or based on non-blocking socket IO.
- HTTPS extensions to Python's httplib, urllib and xmlrpclib.
- Unforgeable HMAC'ing AuthCookies for web session management.
- FTP/TLS client and server.
- S/MIME v2.
- ZSmime: An S/MIME messenger for .