Hmac
hmacCompute an HMAC (hex) of text with a secret key. algorithm = sha1, sha256 (default), sha384, or sha512. Keyless/offline.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"key": "secret-key-123",
"text": "message to authenticate"
},
"name": "hmac"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The secret key. | |
| text | Yes | The message to authenticate. | |
| algorithm | No | sha1 | sha256 (default) | sha384 | sha512. |