hmac_verify
Verify HMAC authentication by checking a hex-encoded HMAC against a key and data using SHA-256 or SHA-512.
Instructions
Verify HMAC.
Args: key: Hex-encoded key. data: String that was signed. hmac: Hex-encoded HMAC to verify. algorithm: Hash algorithm - 'sha256' or 'sha512'.
Returns: True if HMAC is valid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| data | Yes | ||
| hmac | Yes | ||
| algorithm | No | sha256 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |