tool_hmac_verify
Verify an HMAC by comparing the computed signature against an expected value using a given key and algorithm. Returns a boolean indicating validity.
Instructions
[crypto] HMAC Verify
Parameters:
expectedHmac (string): Expected HMAC
data (string): Data
key (string): Key
algorithm (string): Algorithm
Outputs:
valid (boolean): Valid
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Key | |
| data | No | Data | |
| valid | No | Valid | |
| algorithm | No | Algorithm | |
| expectedHmac | No | Expected HMAC |