Dev · 1 credit
HMAC-SHA256
Sign webhooks and request bodies with HMAC-SHA256 inside your private toolbox — secret stays in the call args, not a public playground.
What it does
Call this tool (id: hmac_sha256) to compute HMAC-SHA256 of a body with a caller-provided secret (UTF-8). Pass body and secret; returns lowercase hex.
Example use cases
- Verifying or drafting webhook signatures in agent tests.
- Building signed envelopes before notify/webhook helpers.
- Dev agents that need keyed hashes without a separate crypto service.
How it works in Toolporten
Pair hmac_sha256 with hash_digest (algorithm=sha256) and webhook helpers if you use them. One authenticated MCP endpoint, a short allowlist, and clear credit costs — Toolporten’s compose model, not a hash website clone.
MCP call example
{
"name": "hmac_sha256",
"arguments": {
"body": "{\"ok\":true}",
"secret": "your-signing-secret"
}
}