HMAC Calculator
Compute HMAC-SHA1, SHA-256, SHA-384, or SHA-512 over a message and secret — for API signing or message auth.
Algorithm
🔒 Secrets and messages are processed entirely in your browser via SubtleCrypto.
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/hmac-calculator/run \
-H "Content-Type: application/json" \
-d '{
"secret": "a",
"message": "a",
"algo": "SHA-256"
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/hmac-calculator/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"secret": "a",
"message": "a",
"algo": "SHA-256"
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_hmac_calculatorFull reference: developer docs · OpenAPI spec
About this tool
Uses the browser's native SubtleCrypto.sign with HMAC. Output is shown in hex (most common for HTTP signatures) and Base64 (often used inside JSON tokens).
Need to verify an HMAC? Generate one from the same key and message and compare. Use the existing comparison field to do it without eyeballing 64 hex chars.
You might also like
- Hash GeneratorCompute SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or a file.
- JWT BuilderBuild a JWT — set headers, claims, and sign with HS256/384/512 entirely in your browser.
- JWT DecoderDecode and inspect a JSON Web Token's header, payload, and expiry.
- AES Encrypt / DecryptEncrypt or decrypt text with AES-GCM, deriving a key from a passphrase via PBKDF2 — all in your browser.