Security
HMAC Generator & Verifier
Compute an HMAC message-authentication signature over a message + shared secret using SHA-1/SHA-2/SHA-3/BLAKE2, or verify an incoming signature against the secret — with webhook presets for Stripe / Slack / GitHub and constant-time comparison
html· HTML resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/hmac-generator-verifier' \
-H 'Content-Type: application/json' \
-d '{"message":"{\"id\":\"evt_123\",\"type\":\"payment_intent.succeeded\"}","secret":"whsec_demo_secret_2026","mode":"verify","algorithm":"sha256","encoding":"hex","providedSignature":"0000000000000000000000000000000000000000000000000000000000000000","preset":"stripe"}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/hmac-generator-verifierParameters
| Name | Type | Required | Description |
|---|---|---|---|
| message | textarea | Yes | — |
| secret | text | Yes | — |
| mode | select | No | — |
| algorithm | select | No | — |
| encoding | select | No | — |
| providedSignature |
MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
mcp.json
{
"mcpServers": {
"elysiatools-hmac-generator-verifier": {
"name": "hmac-generator-verifier",
"description": "Compute an HMAC message-authentication signature over a message + shared secret using SHA-1/SHA-2/SHA-3/BLAKE2, or verify an incoming signature against the secret — with webhook presets for Stripe / Slack / GitHub and constant-time comparison",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=hmac-generator-verifier",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "hmac-generator-verifier",
"arguments": {
"message": "{\"id\":\"evt_123\",\"type\":\"payment_intent.succeeded\"}",
"secret": "whsec_demo_secret_2026",
"mode": "verify",
"algorithm": "sha256",
"encoding": "hex",
"providedSignature": "0000000000000000000000000000000000000000000000000000000000000000",
"preset": "stripe"
}
}
}Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).