HMAC
HMAC (Hash-Based Message Authentication Code) เป็นขั้นตอนวิธีเข้ารหัสลับสำหรับการยืนยันความถูกต้องของข้อความโดยใช้กุญแจลับและฟังก์ชันแฮช HMAC ได้รับการกำหนดมาตรฐานใน RFC 2104 (ค.ศ. 1997) และสามารถใช้ร่วมกับฟังก์ชันแฮชเข้ารหัสลับใดก็ได้ (เช่น SHA-256, SHA-3) เพื่อสร้างรหัสยืนยันความถูกต้องของข้อความ (MAC) HMAC ให้ทั้งความสมบูรณ์ของข้อมูลและการยืนยันความถูกต้อง โดยสามารถตรวจจับได้ทั้งความเสียหายที่เกิดขึ้นโดยไม่ตั้งใจและการดัดแปลงโดยเจตนา และมีการใช้งานอย่างแพร่หลายในความปลอดภัยของเว็บ (TLS/SSL), การยืนยันตัวตน API และโปรโตคอลเครือข่าย
อ่านวิธีฉบับเต็ม
เข้าสู่ระบบด้วยบัญชีฟรีเพื่ออ่านส่วนนี้
Method map
The neighbourhood of related methods — select a node to explore.
แหล่งอ้างอิง
- Krawczyk, H., Bellare, M., & Crechanko, R. (1997). HMAC: Keyed-Hashing for Message Authentication. RFC 2104. link ↗
- Bellare, M., Canetti, R., & Krawczyk, H. (1996). Keying hash functions for message authentication. In Advances in Cryptology - CRYPTO 1996, LNCS 1109, pp. 1-15. DOI: 10.1007/3-540-68697-5_1 ↗
วิธีอ้างอิงหน้านี้
ScholarGate. (2026, June 3). Hash-Based Message Authentication Code. ScholarGate. https://scholargate.app/th/cryptography/hmac
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- AES (Rijndael)วิทยาการเข้ารหัสลับ↔ compare
- การวิเคราะห์ความแตกต่าง (Differential Cryptanalysis)วิทยาการเข้ารหัสลับ↔ compare
- ระบบการเข้ารหัสแบบอาร์เอสเอวิทยาการเข้ารหัสลับ↔ compare