HMAC signature verifier
hmac_verifyVerify an HMAC (SHA-256/1/384/512) over a message with a caller-supplied secret. Returns valid bool. Secret is request-body only and never stored — for webhook authenticity checks. Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"secret": "<secret>",
"message": "<message>",
"signature": "<signature>"
},
"name": "hmac_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | sha256 | sha1 | sha384 | sha512 | |
| secret | Yes | HMAC secret (not stored) | |
| message | Yes | raw message / body | |
| signature | Yes | expected signature (hex or base64) | |
| signatureEncoding | No | hex | base64 (auto) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||