Security: Encrypt text using a key

Encrypt text using a key.

Help Centre › Functions & Formulas

Encrypt text using a key.

Add it to a process

In the process designer, open the Add step tab. Find Encrypt text using a key under Security, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Text to encryptYesText to encrypt
Fernet keyYesEncryption key
VariableYesVariable name to store the encrypted token Default: encrypted.

What it gives back

  • {encrypted} – Encrypted text (base64)

See all Security steps.

Errors

ErrorDescription
Invalid keyThe provided key is not a valid Fernet key

Tips

  • Use crypto-generate-key to create a Fernet key first
  • Store the key securely in the Vault

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.