crypto_hmac_verify
Verify an HMAC signature against provided data and a secret key, returning true if valid. Uses constant-time comparison to prevent timing attacks, ensuring secure integrity checks.
Instructions
[crypto] Verify an HMAC signature against data and a secret key. Returns true if valid, false otherwise. Uses constant-time comparison to prevent timing attacks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| secret | Yes | ||
| signature | Yes | ||
| algorithm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |