IdentifiantMot de passe
Mot de passe oublié ?Je m'inscris ! (gratuit)
10. Cryptographic Services

10. Cryptographic Services

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:

hashlib   Secure hash and message digest algorithms.
hmac   Keyed-Hashing for Message Authentication (HMAC) implementation for Python.
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 contains modules for various encryption algorithms, most notably AES. These modules are not distributed with Python but available separately. See the URL for more information.

See About this document... for information on suggesting changes.