导航

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

加密服务¶

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

  • hashlib --- 安全哈希与消息摘要
    • 哈希算法
    • SHAKE variable length digests
    • Key derivation
    • BLAKE2
      • Creating hash objects
      • 常数
      • 示例
        • Simple hashing
        • Using different digest sizes
        • Keyed hashing
        • Randomized hashing
        • Personalization
        • Tree mode
      • Credits
  • hmac --- 基于密钥的消息验证
  • secrets --- Generate secure random numbers for managing secrets
    • Random numbers
    • Generating tokens
      • How many bytes should tokens use?
    • 其他功能
    • Recipes and best practices

上一个主题

plistlib --- Generate and parse Mac OS X .plist files

下一个主题

hashlib --- 安全哈希与消息摘要

本页

  • 提交 Bug
  • 显示源代码

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.8.1 文档 »
  • Python 标准库 »
  • |
© 版权所有 2001-2019, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 12月 21, 2019. Found a bug?
Created using Sphinx 2.2.1.