Cryptographic Services
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
© 2001–2021 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.10/library/crypto.html