Python logo

Предыдущий раздел

plistlib — Generate and parse Apple .plist files

Следующий раздел

hashlib — Secure hashes and message digests

This page

  • Report a bug
  • Improve this page
  • Show source
  • Show translation source

Навигация

  • указатель
  • модули |
  • вперёд |
  • назад |
  • Python logo
  • Python »
  • 3.14.7 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

Предыдущий раздел

plistlib — Generate and parse Apple .plist files

Следующий раздел

hashlib — Secure hashes and message digests

This page

  • Report a bug
  • Improve this page
  • Show source
  • Show translation source
«

Навигация

  • указатель
  • модули |
  • вперёд |
  • назад |
  • Python logo
  • Python »
  • 3.14.7 Documentation »
  • The Python Standard Library »
  • Cryptographic Services
  • |
  • |
© Авторское право 2001 Python Software Foundation.
Эта страница лицензирована в соответствии с лицензией Python Software Foundation версии 2.
Примеры, рецепты и другой код в документации дополнительно лицензируются по лицензии Zero Clause BSD.
Подробнее см. в разделе История и лицензия.

Python Software Foundation — некоммерческая организация. Пожалуйста, сделайте пожертвование.

Последнее обновление авг. 22, 2026 (09:02 UTC). Нашли ошибку?
Создано с помощью Sphinx 8.2.3.