Skip to content

ตัวสร้าง HMAC

สร้าง keyed-hash HMAC (SHA-1/256/384/512) จากข้อความและ secret ทำงานในเบราว์เซอร์ของคุณทั้งหมดผ่าน Web Crypto พร้อมลิงก์แชร์ไปยังข้อมูลที่คุณกรอก

Encoders & Crypto
cosmodev ~/tools/hmac-generator-
-

คำนวณบนเครื่องผ่าน SubtleCrypto - ข้อความและ secret ของคุณไม่มีวันออกจากอุปกรณ์ ต้องใช้ secure context (https หรือ localhost)

Send to AI
Write a Python `hmac.compare_digest` verifier for HMAC-SHA-256. Read the secret from an environment variable - never hardcode it. Test vector - message: ``, expected MAC (hex): ``.