Python logo

Previous topic

plistlib — Generate and parse Apple .plist files

Next topic

hashlib — Secure hashes and message digests

This page

  • Report a bug
  • Show source

Navigation

  • índice
  • módulos |
  • siguiente |
  • anterior |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • La biblioteca estándar de Python »
  • Servicios criptográficos
  • |
  • |

Servicios criptográficos¶

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
    • Algoritmos de hash
    • Usage
    • Constructors
    • Attributes
    • Hash Objects
    • Resúmenes SHAKE de largo variable
    • Cifrado de archivos
    • Derivación de clave
    • BLAKE2
      • Creando objetos hash
      • Constantes
      • Ejemplos
        • Cifrado simple
        • Usar diferentes tamaños de resumen
        • Cifrado de clave
        • Cifrado aleatorio
        • Personalización
        • Modo de árbol
      • Créditos
  • hmac — Keyed-Hashing for Message Authentication
  • secrets — Generate secure random numbers for managing secrets
    • Números aleatorios
    • Generando tokens
      • ¿Cuántos bytes deben tener los tokens?
    • Otras funciones
    • Recetas y mejores prácticas

Previous topic

plistlib — Generate and parse Apple .plist files

Next topic

hashlib — Secure hashes and message digests

This page

  • Report a bug
  • Show source
«

Navigation

  • índice
  • módulos |
  • siguiente |
  • anterior |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • La biblioteca estándar de Python »
  • Servicios criptográficos
  • |
  • |
© Copyright 2001-2025, 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.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

Last updated on sept 12, 2025 (07:43 UTC). Found a bug?
Created using Sphinx 8.2.3.