Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation computes a HMAC (Hash-based Message Authentication Code) for a given input string using a specified key and algorithm. It is useful for scenarios requiring data integrity verification and authentication, such as securing API requests, validating message authenticity, or generating cryptographic signatures.
Use Case Examples
- Generating a HMAC signature for an API request payload to ensure data integrity.
- Verifying the authenticity of a message by comparing its HMAC with a known key.
Properties
| Name | Meaning |
|---|---|
| Input | The input string for which the HMAC will be computed. |
| Key | The secret key used to compute the HMAC. |
| Algorithm | The cryptographic hash algorithm to use for HMAC computation (default is sha256). |
| Output Encoding | The encoding format of the HMAC output (hex or base64). |
Output
JSON
hmac- The computed HMAC string based on the input and key.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API to authenticate requests.
Troubleshooting
- Ensure the 'Input' and 'Key' fields are not empty as they are required for HMAC computation.
- Verify that the chosen algorithm is supported and correctly spelled (e.g., 'sha256').
- If the output encoding is not as expected, check the 'Output Encoding' property to confirm it matches the desired format.
Links
- HMAC - Wikipedia - General information about HMAC and its cryptographic use.
