Python logo

موضوع قبلی

plistlib --- Generate and parse Apple .plist files

موضوع بعدی

hashlib --- Secure hashes and message digests

این صفحه

  • گزارش یک اشکال
  • بهبود این صفحه
  • نمایش منبع
  • نمایش منبع ترجمه
این یک پیش‌نمایش مستقرشده است که از یک درخواست ادغام ایجاد شده است. برای مشاهده‌ی مستندات معتبر، به نسخه‌ی پایدار فعلی.

ناوبری

  • فهرست
  • ماژول ها |
  • بعدی |
  • قبلی |
  • Python logo
  • Python »
  • 3.16.0a0 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

این صفحه

  • گزارش یک اشکال
  • بهبود این صفحه
  • نمایش منبع
  • نمایش منبع ترجمه
«

ناوبری

  • فهرست
  • ماژول ها |
  • بعدی |
  • قبلی |
  • Python logo
  • Python »
  • 3.16.0a0 Documentation »
  • The Python Standard Library »
  • Cryptographic Services
  • |
  • |
© حق نشر 2001 Python Software Foundation.
این صفحه تحت مجوز بنیاد نرم‌افزار پایتون نسخه ۲ منتشر شده است.
مثال‌ها، دستورالعمل‌ها، و سایر کدهای موجود در مستندات همچنین تحت مجوز بدون بند BSD منتشر شده‌اند.
برای اطلاعات بیشتر به تاریخچه و مجوز مراجعه کنید.
میزبانی شده روی Read the Docs.

بنیاد نرم‌افزار پایتون یک شرکت غیرانتفاعی است. لطفاً کمک مالی کنید.

آخرین به‌روزرسانی در اوت 20, 2026 (11:54 UTC). آیا اشکالی یافتید؟
ساخته شده با Sphinx 8.2.3.