会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
LeoShi2020
博客园
首页
新随笔
联系
订阅
管理
2023年3月29日
[Python3]SM3国密算法
摘要: from gmssl import sm4, sm3 def sm3_hash(message: str): """ 国密sm3加密 :param message: 消息值,bytes类型 :return: 哈希值 """ msg_list = [i for i in bytes(message.e
阅读全文
posted @ 2023-03-29 20:26 LeoShi2020
阅读(1663)
评论(0)
推荐(0)
编辑
公告