HMAC generator
hmacCompute a keyed message authentication code from text and a secret key, choosing the digest algorithm and hex or base64 output to verify message integrity and authenticity.
Instructions
Compute an HMAC of a message with a secret key. (Same as IT-Tools /hmac-generator.)
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": {
"text": "<text>",
"key": "<key>"
},
"name": "hmac"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Secret key (UTF-8) | |
| text | Yes | ||
| encoding | No | Digest encoding | hex |
| algorithm | No | sha256 |