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.6.15 Documentation »
  • Pustaka Standar Python »
  • |

15. 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:

  • 15.1. hashlib --- Secure hashes and message digests
    • 15.1.1. Hash algorithms
    • 15.1.2. SHAKE variable length digests
    • 15.1.3. Key derivation
    • 15.1.4. BLAKE2
      • 15.1.4.1. Creating hash objects
      • 15.1.4.2. Konstanta
      • 15.1.4.3. Contoh-contoh
        • 15.1.4.3.1. Simple hashing
        • 15.1.4.3.2. Using different digest sizes
        • 15.1.4.3.3. Keyed hashing
        • 15.1.4.3.4. Randomized hashing
        • 15.1.4.3.5. Personalization
        • 15.1.4.3.6. Tree mode
      • 15.1.4.4. Credits
  • 15.2. hmac --- Keyed-Hashing for Message Authentication
  • 15.3. secrets --- Generate secure random numbers for managing secrets
    • 15.3.1. Random numbers
    • 15.3.2. Generating tokens
      • 15.3.2.1. How many bytes should tokens use?
    • 15.3.3. Other functions
    • 15.3.4. Recipes and best practices

Topik sebelumnya

14.5. plistlib --- Generate and parse Mac OS X .plist files

Topik berikutnya

15.1. hashlib --- Secure hashes and message digests

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

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