Python logo

Topik sebelumnya

plistlib --- Generate and parse Apple .plist files

Topik berikutnya

hashlib --- Secure hashes and message digests

Halaman Ini

  • Laporkan Bug
  • Perlihatkan Sumber

Navigasi

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

Layanan Kriptografi¶

Modul-modul yang dideskripsikan di bagian ini mengimplementasikan berbagai algoritma dunia kriptografi. Mereka (modul-modul) tersedia bebas saat pemasangan. Pada sistem Unix, modul crypt mungkin saja tersedia. Berikut ini ikhtisar:

  • 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
      • Konstanta
      • Contoh-contoh
        • 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

Topik sebelumnya

plistlib --- Generate and parse Apple .plist files

Topik berikutnya

hashlib --- Secure hashes and message digests

Halaman Ini

  • Laporkan Bug
  • Perlihatkan Sumber
«

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.12.10 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 Apr 11, 2025 (20:16 UTC). Found a bug?
Created using Sphinx 8.2.3.