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 result
Quick start Call this tool from your code in three languages.
cURL JavaScript Python
cURL
Copycurl -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
CopyPOST https://api.elysiatools.com/en/api/tools/hmac-generator-verifier Parameters 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
Copy{
"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
Copy{
"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
Copy{
"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). Response format HTML result
JSON
Copy{
"result" : "<div>Processed HTML content</div>" ,
"error" : "Error message (optional)" ,
"message" : "Notification message (optional)" ,
"metadata" : {
"key" : "value"
}
}
HMAC Generator & Verifier — API & MCP | Elysia Tools