HMAC 生成器
使用 SHA-1、SHA-256、SHA-384 或 SHA-512 计算十六进制或 Base64 格式的 HMAC 签名。
使用方法
Generating an HMAC
Enter the secret key and message, then choose the hash algorithm and output encoding.
- Enter the key.
- Enter the message.
- Pick the algorithm and encoding.
常见问题
Is my key uploaded?
No, the signature is computed locally with the Web Crypto API.
Which encoding should I use?
Hex is common; Base64 is often used in HTTP and JWT contexts.