导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.6.8 文档 »
  • Python 标准库 »
  • |

15. 加密服务¶

本章中描述的模块实现了加密性质的各种算法。 它们可由安装人员自行决定。 在Unix系统上,crypt 模块也可以使用。 这是一个概述:

  • 15.1. hashlib — 安全哈希与消息摘要
    • 15.1.1. 哈希算法
    • 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. 常数
      • 15.1.4.3. 示例
        • 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 — 基于密钥的消息验证
  • 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. 其他功能
    • 15.3.4. Recipes and best practices

上一个主题

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

下一个主题

15.1. hashlib — 安全哈希与消息摘要

本页

  • 提交 Bug
  • 显示源代码

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.6.8 文档 »
  • Python 标准库 »
  • |
© 版权所有 2001-2019, Python Software Foundation.
Python 软件基金会是一个非盈利组织。 请捐助。
最后更新于 6月 19, 2019. 发现了问题?
使用Sphinx2.0.1 创建。