Toolporten

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.

Use in a toolbox

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

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"
  }
}

Related tools

Create a toolbox