Skip to content

HMAC 生成器

免费的 HMAC 生成器。使用 SHA-1, 256, 384 或 512 和任何密钥创建 HMAC 签名。支持十六进制和 Base64 输出。适用于 webhook 签名、API 认证。

Runs in your browserUpdated Apr 26, 2026

Input

Output

Hex
Base64

常见问题

What is HMAC?

Hash-based Message Authentication Code — a way to verify a message hasn't been tampered with using a shared secret. Common in webhook signing.

Is HMAC encryption?

No — HMAC is authentication. The message itself is in cleartext; HMAC just lets the receiver verify it came from someone with the same secret.

Which algorithm should I use?

HMAC-SHA256 is the modern default. HMAC-SHA1 is still common in older systems but should be avoided for new work.

Is my secret sent to a server?

No — generation runs entirely in your browser via the Web Crypto API.

Is the generator free?

Yes — fully free, no signup.

大家也在搜索