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 Authenticationsecrets — Generate secure random numbers for managing secrets
© 2001–2023 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.12/library/crypto.html