Logo

Argomento precedente

plistlib — Generate and parse Mac OS X .plist files

Argomento successivo

hashlib — Secure hashes and message digests

Questa pagina

  • Riporta un Bug
  • Mostra sorgente

Navigazione

  • indice
  • moduli |
  • successivo |
  • precedente |
  • python logo
  • Python »
  • 3.8.20 Documentation »
  • The Python Standard Library »
  • |

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
    • Hash algorithms
    • SHAKE variable length digests
    • Key derivation
    • BLAKE2
      • Creating hash objects
      • Constants
      • Examples
        • Simple hashing
        • Using different digest sizes
        • Keyed hashing
        • Randomized hashing
        • Personalization
        • Tree mode
      • Credits
  • hmac — Keyed-Hashing for Message Authentication
  • secrets — Generate secure random numbers for managing secrets
    • Random numbers
    • Generating tokens
      • How many bytes should tokens use?
    • Other functions
    • Recipes and best practices

Argomento precedente

plistlib — Generate and parse Mac OS X .plist files

Argomento successivo

hashlib — Secure hashes and message digests

Questa pagina

  • Riporta un Bug
  • Mostra sorgente

Navigazione

  • indice
  • moduli |
  • successivo |
  • precedente |
  • python logo
  • Python »
  • 3.8.20 Documentation »
  • The Python Standard Library »
  • |
© Copyright 2001-2024, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.

La Python Software Foundation è una società senza scopo di lucro. Per favore, fai una donazione.

Ultimo aggiornamento set 08, 2024. Found a bug?
Created using Sphinx 2.4.4.