随笔分类 - crypto
安全相关
摘要:1、HMAC 概念 HMAC(Hash-based Message Authentication Code)基于 hash 的消息验证码,是 安全通信中必要的组成部件。 主要是 防止消息被篡改,和对称加密一起保护数据通信的 完整性。 参考HMAC实现规范,基于的 Hash 算法可以是 md5,sha
阅读全文
摘要:#python3.4hashlib module - A common interface to many hash functions.hash.digest() - Return the digest of the data passed to the update() method so fa
阅读全文
浙公网安备 33010602011771号