The modules described in this chapter implement various algorithms of a
cryptographic nature. They are available at the discretion of the installation.
On Unix systems, the
crypt module may also be available.
Here’s an overview:
hashlib— Secure hashes and message digests
hmac— Keyed-Hashing for Message Authentication
secrets— Generate secure random numbers for managing secrets