This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release.

# 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
- 14.2. `hmac` — Keyed-Hashing for Message Authentication
- 14.3. `md5` — MD5 message digest algorithm
- 14.4. `sha` — SHA-1 message digest algorithm