crypto_hmac_sign
Sign data with a secret key using HMAC to generate a hex digest. Verify webhook payload integrity with support for SHA1, SHA224, SHA256, SHA384, and SHA512.
Instructions
[crypto] Sign data with a secret key using HMAC. Returns the hex digest. Commonly used to sign webhook payloads. Supported algorithms: sha1, sha224, sha256, sha384, sha512.
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": {
"data": "<data>",
"secret": "<secret>"
},
"name": "crypto_hmac_sign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| secret | Yes | ||
| algorithm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |