14. Cryptographic Services — Python 2.7.9 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Python »
- Python 2.7.9 documentation »
- The Python Standard Library »

# 14. 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:

- 14.1. `hashlib` — Secure hashes and message digests
  - 14.1.1. Key Derivation Function
- 14.2. `hmac` — Keyed-Hashing for Message Authentication
- 14.3. `md5` — MD5 message digest algorithm
- 14.4. `sha` — SHA-1 message digest algorithm

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 http://www.pycrypto.org/ for more information.

### Navigation

- index
- modules |
- next |
- previous |
- Python »
- Python 2.7.9 documentation »
- The Python Standard Library »