The modules described in this chapter implement various algorithms of a cryptographic nature. They are available at the discretion of the installation. Here's an overview:
hmac | Keyed-Hashing for Message Authentication (HMAC) implementation for Python. | |
hashlib | Secure hash and message digest algorithms. | |
md5 | RSA's MD5 message digest algorithm. | |
sha | NIST's secure hash algorithm, SHA. |
Hardcore cypherpunks will probably find the cryptographic modules written by A.M. Kuchling of further interest; the package adds built-in modules for DES and IDEA encryption, provides a Python module for reading and decrypting PGP files, and then some. These modules are not distributed with Python but available separately. See the URL http://www.amk.ca/python/code/crypto.html for more information.
See About this document... for information on suggesting changes.