What it is for
The Crypto component is a flooows utility to compute hashes, sign text with HMAC or RSA, encode and decode Base64, encrypt files with OpenPGP and generate passwords. Use it to sign API requests, verify webhooks or protect files before sending them.
It has no triggers: it is used as an action inside flows started by any other trigger.
Set up the connection
- 1This component needs no connection.
- 2In the flow editor click "+" to add a step and search for "Crypto".
- 3Choose the action you need and fill in its fields.
- 4Test the step to check the output before using it in later steps.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- "Generate HMAC Signature" needs "Secret Key", its "Secret Key Encoding", the "Algorithm" (for example SHA256) and the "Text"; pick "Output Encoding" to match what the API expects.
- "Text to Hash" hashes the "Text", useful for comparing data or building identifiers.
- "OpenPGP Encrypt" encrypts a "File" from a previous step with the recipient's "Public Key".
- "Generate Password" creates a password with the given "Length" and "Character Set".
Tips
- •Avoid pasting secret keys in plain text across many steps; keep them in one place and limit who edits the flow.
- •To verify a webhook, compute the HMAC of the received body and compare it with the signature header.
- •MD5 and SHA1 are not suitable for security; use SHA256 or higher.
Actions (7)
Operations available as flow steps. Expand each one to see its fields.
Text to Hash2 fields
| Field | Type | Required |
|---|---|---|
| Algorithm | Fixed list | Yes |
| Text | Text | Yes |
Generate HMAC Signature5 fields
| Field | Type | Required |
|---|---|---|
| Secret Key | Text | Yes |
| Secret Key Encoding | Fixed list | Yes |
| Algorithm | Fixed list | Yes |
| Text | Text | Yes |
| Output Encoding | Fixed list | No |
Generate RSA Signature5 fields
| Field | Type | Required |
|---|---|---|
| Private Key | Long text | Yes |
| Passphrase | Text | No |
| Algorithm | Fixed list | Yes |
| Text | Long text | Yes |
| Output Encoding | Fixed list | No |
Generate Password2 fields
| Field | Type | Required |
|---|---|---|
| Length | Number | Yes |
| Character Set | Fixed list | Yes |
Base64 Decode1 fields
| Field | Type | Required |
|---|---|---|
| Text | Text | Yes |
Base64 Encode1 fields
| Field | Type | Required |
|---|---|---|
| Text | Text | Yes |
OpenPGP Encrypt2 fields
| Field | Type | Required |
|---|---|---|
| File | File | Yes |
| Public Key | Long text | Yes |
Common errors
Signature does not match.
Check key and output encoding (hex or base64) and that the text is exactly the same.
Cannot read RSA or PGP key.
Paste the full key, including the BEGIN and END lines.
Invalid Base64 text.
Remove extra spaces or line breaks before decoding.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps