Python logo

Subiectul precedent

plistlib — Generate and parse Apple .plist files

Subiectul următor

hashlib — Secure hashes and message digests

This page

  • Report a bug
  • Show source

Navigație

  • index
  • module |
  • următor |
  • precedent |
  • Python logo
  • Python »
  • 3.14.0 Documentation »
  • The Python Standard Library »
  • Cryptographic Services
  • |
  • |

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:

  • hashlib — Secure hashes and message digests
    • Hash algorithms
    • Usage
    • Constructors
    • Attributes
    • Hash Objects
    • SHAKE variable length digests
    • File hashing
    • 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

Subiectul precedent

plistlib — Generate and parse Apple .plist files

Subiectul următor

hashlib — Secure hashes and message digests

This page

  • Report a bug
  • Show source
«

Navigație

  • index
  • module |
  • următor |
  • precedent |
  • Python logo
  • Python »
  • 3.14.0 Documentation »
  • The Python Standard Library »
  • Cryptographic Services
  • |
  • |
© Drepturi de autor 2001 Python Software Foundation.
Pagina de față este licențiată cu Versiunea 2 a Python Software Foundation License (Licența fundației Python dedicată software-ului).
Exemplele, rețetele și alte fragmente de cod din documentație sunt licențiate suplimentar cu Zero Clause BSD License (Licența de clauză zero a BSD-ului).
Vedeți Istoric și licență pentru mai multe informații.

Python Software Foundation (PSF, Fundația Python dedicată software-ului) este o corporație non-profit. Vă rugăm să donați.

Ultima modificare în nov. 09, 2025 (07:28 UTC). Ați găsit o greșeală?
Creat cu Sphinx 8.2.3.