This document is for an old version of Python that is no longer supported. You should upgrade, and read the Python documentation for the current stable release.

탐색

  • 색인
  • 모듈 |
  • 다음 |
  • 이전 |
  • Python »
  • 3.6.15 Documentation »
  • 파이썬 표준 라이브러리 »
  • |

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

  • 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. Constants
      • 15.1.4.3. Examples
        • 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

이전 항목

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

다음 항목

15.1. hashlib — Secure hashes and message digests

현재 문서

  • 버그 보고하기
  • 소스 보기

탐색

  • 색인
  • 모듈 |
  • 다음 |
  • 이전 |
  • Python »
  • 3.6.15 Documentation »
  • 파이썬 표준 라이브러리 »
  • |
© 저작권 2001-2021, Python Software Foundation.
파이썬 소프트웨어 재단은 비영리 법인입니다. 기부를 부탁합니다.
최종 업데이트: 12월 29, 2021 버그를 찾았나요?
Sphinx 2.3.1 를 사용해서 만들었습니다.