使用方法
- Enter the message you want to authenticate in the message field。
- Enter the secret key in the key field。
- Select the algorithm: SHA-256, SHA-384, or SHA-512。
- Copy the hexadecimal HMAC digest from the output。
- All computation runs in your browser via the WebCrypto API — nothing is stored or sent anywhere。
範例
- Message "GET /api/data" with key "mysecret" and SHA-256 produces a 64-character hex digest used to verify the request signature。
- Changing a single character in the message or key produces a completely different digest, confirming tamper detection。