Dokumen ini untuk versi lama Python yang tidak didukung lagi. Anda harus memutakhirkan, dan membaca Dokumentasi Python untuk rilis stabil saat ini.

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • 3.7.17 Documentation »
  • Pustaka Standar Python »
  • |

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
    • SHAKE variable length digests
    • 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 Mac OS X .plist files

Topik berikutnya

hashlib --- Secure hashes and message digests

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • 3.7.17 Documentation »
  • Pustaka Standar Python »
  • |
© Hak Cipta 2001-2023, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Terakhir diperbarui pada Jun 28, 2023. Found a bug?
Created using Sphinx 2.3.1.