Ten dokument dotyczy starej wersji Pythona, która nie jest już wspierana. Powinieneś przejść na wyższą wersję i przeczytać dokumentację Pythona dla bieżącego stabilnego wydania.

Nawigacja

  • indeks
  • moduły |
  • dalej |
  • wstecz |
  • Python »
  • 3.7.17 Documentation »
  • Biblioteka standardowa Pythona »
  • |

Cryptographic Services¶

The modules described in this chapter implement various algorithms of a cryptographic nature. They are available at the discretion of the installation. On Unix systems, the crypt module may also be available. Here’s an overview:

  • hashlib — Secure hashes and message digests
    • Hash algorithms
    • SHAKE variable length digests
    • Key derivation
    • BLAKE2
      • Creating hash objects
      • Stały
      • Przykłady
        • 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

Poprzedni temat

plistlib — Generate and parse Mac OS X .plist files

Następny temat

hashlib — Secure hashes and message digests

Ta strona

  • Zgłoś błąd
  • Pokaż źródło

Nawigacja

  • indeks
  • moduły |
  • dalej |
  • wstecz |
  • Python »
  • 3.7.17 Documentation »
  • Biblioteka standardowa Pythona »
  • |
© Copyright 2001-2023, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Ostatnia modyfikacja cze 28, 2023. Found a bug?
Created using Sphinx 2.3.1.