HMAC
HMAC:密钥相关的哈希运算消息认证码(Hash-based Message Authentication Code)
HMAC把密钥(对称密钥)和消息放在一起,然后取哈希,保证了消息和密钥的完整性。其中,密钥和消息进行了一些变换,保证了密钥长度不受限制且不易受到攻击。
参考:
https://blog.csdn.net/qq_40279192/article/details/107887990
https://baike.baidu.com/item/hmac/7307543?fr=aladdin