RevealTheme logo

เครื่องมือสร้าง HMAC

สร้างลายเซ็น HMAC โดยใช้ SHA-1, SHA-256, SHA-384 หรือ SHA-512

วิธีใช้เครื่องมือนี้

  1. 1

    Pick a hash algorithm from the dropdown: SHA-1, SHA-256, SHA-384, or SHA-512.

  2. 2

    Type or paste your shared secret key into the key field.

  3. 3

    Type or paste the message you want to authenticate into the message box.

  4. 4

    Click Generate to compute the HMAC; the lowercase hex digest appears below.

เครื่องมือสร้าง HMAC คืออะไร?

HMAC (Hash-based Message Authentication Code) ตรวจสอบทั้งความสมบูรณ์และความถูกต้องแท้จริงของข้อความโดยใช้คีย์ลับที่ใช้ร่วมกัน มันเป็นพื้นฐานของลายเซ็น webhook การลงนามคำขอ API (AWS Signature V4, webhook ของ Stripe) และอัลกอริทึม HS256/HS384/HS512 ของ JWT

กรณีการใช้งานทั่วไป

  • Verify an incoming webhook by recomputing the HMAC of the raw request body with your endpoint's signing secret and comparing it to the provider's signature header.

  • Check a Stripe webhook locally: HMAC-SHA256 the timestamped payload with your whsec_ secret to confirm your verification logic before deploying.

  • Debug a mismatched signature by pasting the exact bytes your server and client each signed to see which side is wrong.

  • Generate a quick integrity tag for a config file or message so a teammate with the same key can confirm it was not altered in transit.

  • Teach or learn how HMAC differs from a bare hash by toggling algorithms and watching the digest length change.

  • Sanity-check a single HMAC step of a larger signing scheme (such as one round of the AWS SigV4 key-derivation chain) during development.

คำถามที่พบบ่อย

HMAC เหมือนกับ hash หรือไม่?
ไม่ hash แบบธรรมดา (SHA-256) ใครก็คำนวณได้ แต่ HMAC ต้องใช้คีย์ลับ หากไม่มีคีย์ คุณก็ไม่สามารถตรวจสอบหรือปลอมแปลงลายเซ็นได้

เครื่องมือที่เกี่ยวข้อง

เครื่องมือสร้างแฮชรหัสผ่าน (PBKDF2)

สร้างแฮชรหัสผ่านที่ปลอดภัยในเบราว์เซอร์ของคุณโดยใช้ PBKDF2-SHA256 แข็งแกร่งกว่า MD5 หรือ SHA แบบธรรมดา พร้อมปัจจัยการทำงานที่ปรับได้

การเข้ารหัส AES-256

เข้ารหัสและถอดรหัสข้อความด้วย AES-256-GCM คีย์ถูกสร้างจากวลีรหัสผ่านของคุณด้วย PBKDF2-SHA256

เครื่องมือสร้างรหัส QR สำหรับ 2FA

สร้างรหัส QR แบบ TOTP สำหรับ Google Authenticator, Authy, 1Password และแอป 2FA อื่นๆ

เครื่องมือตรวจสอบความแข็งแกร่งของรหัสผ่าน

ตรวจสอบเอนโทรปีของรหัสผ่านของคุณเทียบกับขนาดของชุดอักขระและรายการรหัสผ่านที่ใช้กันทั่วไป ทำงานแบบออฟไลน์โดยสมบูรณ์

เครื่องมือเข้ารหัสและถอดรหัส Caesar Cipher

เข้ารหัสหรือถอดรหัสข้อความด้วย Caesar cipher: การแทนที่ตัวอักษรตามการเลื่อนตำแหน่งคงที่

ตัวเข้ารหัสและถอดรหัส ROT13

เข้ารหัสหรือถอดรหัสข้อความด้วย ROT13: รหัสซีซาร์แบบเลื่อน 13 ตำแหน่งที่ผกผันในตัวเอง

สมัครรับข่าวสารอัปเดต

เราไม่ขายอีเมลของคุณ เราไม่ส่งสแปม

© 2026 RevealTheme. All rights reserved.