Skip to content

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

  1. 1This component needs no connection.
  2. 2In the flow editor click "+" to add a step and search for "Crypto".
  3. 3Choose the action you need and fill in its fields.
  4. 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
FieldTypeRequired
AlgorithmFixed listYes
TextTextYes
Generate HMAC Signature5 fields
FieldTypeRequired
Secret KeyTextYes
Secret Key EncodingFixed listYes
AlgorithmFixed listYes
TextTextYes
Output EncodingFixed listNo
Generate RSA Signature5 fields
FieldTypeRequired
Private KeyLong textYes
PassphraseTextNo
AlgorithmFixed listYes
TextLong textYes
Output EncodingFixed listNo
Generate Password2 fields
FieldTypeRequired
LengthNumberYes
Character SetFixed listYes
Base64 Decode1 fields
FieldTypeRequired
TextTextYes
Base64 Encode1 fields
FieldTypeRequired
TextTextYes
OpenPGP Encrypt2 fields
FieldTypeRequired
FileFileYes
Public KeyLong textYes

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