Logo

上一个主题

plistlib ---生成并解析Apple .plist 文件夹

下一个主题

hashlib ---安全hash和消息摘要

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • python logo
  • Python »
  • 3.10.0a4 Documentation »
  • python标准库 »
  • 加密服务
  • |

加密服务¶

本章中描述的模块实现各种加密性质的算法。它们可由安装人员自行决定。在UNIX系统上, crypt 也可提供模块。以下是概述:

  • hashlib ---安全hash和消息摘要
    • 散列算法
    • 摇动可变长度消化道
    • 导出密钥
    • BLAKE2
      • 创建hash对象
      • 常量
      • 实例
        • 简单散列
        • 使用不同的摘要大小
        • 键控散列
        • 随机散列
        • 个人化
        • 树模式
      • 信用
  • hmac ---消息认证的键控hash
  • secrets ---生成安全随机数管理秘密
    • 随机数
    • 生成令牌
      • 令牌应该使用多少字节?
    • 其他功能
    • 配方和最佳实践

上一个主题

plistlib ---生成并解析Apple .plist 文件夹

下一个主题

hashlib ---安全hash和消息摘要

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • python logo
  • Python »
  • 3.10.0a4 Documentation »
  • python标准库 »
  • 加密服务
  • |
© 版权 2001-2021, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 10月 23, 2021. Found a bug?
Created using Sphinx 4.2.0.