Python logo

Topik sebelumnya

plistlib --- Generate and parse Apple .plist files

Topik berikutnya

hashlib --- Secure hashes and message digests

This page

  • Report a bug
  • Show source

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • Pustaka Standar Python »
  • Layanan Kriptografi
  • |
  • |

Layanan Kriptografi¶

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
    • Хеш-алгоритми
    • Penggunaan
    • Constructors
    • Attributes
    • Hash Objects
    • Дайджести змінної довжини SHAKE
    • File hashing
    • Виведення ключів
    • BLAKE2
      • Створення хеш-об'єктів
      • Konstanta
      • Contoh-contoh
        • Просте хешування
        • Використання різних розмірів дайджесту
        • Ключове хешування
        • Рандомізоване хешування
        • Персоналізація
        • Режим дерева
      • Кредити
  • hmac --- Keyed-Hashing for Message Authentication
  • secrets --- Generate secure random numbers for managing secrets
    • Rastgele sayılar
    • Generating tokens
      • How many bytes should tokens use?
    • Other functions
    • Recipes and best practices

Topik sebelumnya

plistlib --- Generate and parse Apple .plist files

Topik berikutnya

hashlib --- Secure hashes and message digests

This page

  • Report a bug
  • Show source
«

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • Pustaka Standar Python »
  • Layanan Kriptografi
  • |
  • |
© Hak Cipta 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.

Terakhir diperbarui pada Sep 05, 2025 (08:02 UTC). Found a bug?
Created using Sphinx 8.2.3.