V2EX  ›  英汉词典
Enqueued related words: SHA-256

HMAC

释义 Definition

HMAC(基于哈希的消息认证码):一种利用哈希函数共享密钥生成的认证值,用来验证消息在传输过程中是否被篡改,并确认消息来自持有密钥的一方。常见形式如 HMAC-SHA256。(也有人把它泛称为“消息签名”,但更准确说是“认证码/鉴别码”。)

发音 Pronunciation

/ˈeɪtʃmæk/

例句 Examples

Use HMAC to verify the message.
使用 HMAC 来验证这条消息。

The server rejects the request if the HMAC doesn’t match, which helps prevent tampering and replay attacks.
如果 HMAC 不匹配,服务器会拒绝该请求,这有助于防止篡改和重放攻击。

词源 Etymology

HMAC 来自缩写 Hash-based Message Authentication Code(基于哈希的消息认证码)。它把“哈希(hash)”与“密钥(key)”结合:同一条消息在同一密钥下会产生同一个认证结果,从而用于完整性与身份验证。

相关词 Related Words

文学与经典作品 Notable Works

  • RFC 2104: HMAC: Keyed-Hashing for Message Authentication(IETF 标准文档,定义并规范化 HMAC)
  • RFC 4231: Identifiers and Test Vectors for HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512(提供常见 HMAC 算法的标识与测试向量)
  • Applied Cryptography(Bruce Schneier,《应用密码学》,在消息认证与哈希相关章节讨论 HMAC 等机制)
  • Cryptography Engineering(Niels Ferguson, Bruce Schneier, Tadayoshi Kohno,《密码工程》,涉及 HMAC 在工程实践中的用途与注意事项)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   759 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 22:27 · PVG 06:27 · LAX 14:27 · JFK 17:27
♥ Do have faith in what you're doing.