Python logo

Προηγούμενο θέμα

plistlib — Generate and parse Apple .plist files

Επόμενο θέμα

hashlib — Secure hashes and message digests

This page

  • Report a bug
  • Show source

Πλοήγηση

  • ευρετήριο
  • μονάδες |
  • επόμενο |
  • προηγούμενο |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • The Python Standard Library »
  • Cryptographic Services
  • |
  • |

Cryptographic Services¶

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
    • Hash algorithms
    • Usage
    • Constructors
    • Attributes
    • Hash Objects
    • SHAKE variable length digests
    • File hashing
    • Key derivation
    • BLAKE2
      • Creating hash objects
      • Constants
      • Examples
        • 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

Προηγούμενο θέμα

plistlib — Generate and parse Apple .plist files

Επόμενο θέμα

hashlib — Secure hashes and message digests

This page

  • Report a bug
  • Show source
«

Πλοήγηση

  • ευρετήριο
  • μονάδες |
  • επόμενο |
  • προηγούμενο |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • The Python Standard Library »
  • Cryptographic Services
  • |
  • |
© Πνευματικά δικαιώματα 2001-2025, Python Software Foundation.
Η σελίδα αυτή διατίθεται υπό την άδεια χρήσης του Python Software Foundation, 2η έκδοση.
Παραδείγματα, οδηγοί και λοιπά κομμάτια κώδικα στην τεκμηρίωση διατίθενται επιπλέον υπό την άδεια χρήσης Zero Clause BSD.
Δες την Ιστορία και Άδεια χρήσης για περισσότερες πληροφορίες.

Το Python Software Foundation είναι ένας μη κερδοσκοπικός οργανισμός. Παρακαλώ κάντε μια δωρεά.

Τελευταία ενημέρωση στις Σεπ 29, 2025 (07:26 UTC). Βρήκες ένα bug?
Δημιουργήθηκε με την χρήση του Sphinx 8.2.3.