HMAC-SHA256
hmac_sha256Authenticate a UTF-8 message with a UTF-8 secret key using HMAC-SHA256. Use this when you need keyed integrity/authentication with a shared secret; use hash_sha256 instead for an unkeyed checksum or fingerprint. Returns the 32-byte HMAC as 64 lowercase hexadecimal characters. Costs 1 credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Secret key interpreted as UTF-8 text, maximum 1,024 characters. Do not pass a hex/base64 key unless those literal characters are the intended key bytes. | |
| message | Yes | Message interpreted as UTF-8 text, maximum 65,536 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||