Security: Decrypt ciphertext using a key

Decrypt ciphertext using a key.

Help Centre › Functions & Formulas

Decrypt ciphertext using a key.

Add it to a process

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

Fields

FieldRequiredWhat it does
Encrypted tokenYesEncrypted text (base64)
Fernet keyYesDecryption key
VariableYesVariable name to store the decrypted text Default: decrypted.

What it gives back

  • {decrypted} – Decrypted text

See all Security steps.

Errors

ErrorDescription
Invalid keyThe provided key is not a valid Fernet key
Invalid tokenThe token is not a valid Fernet token
Token expiredThe token has expired (if TTL was set during encryption)

Tips

  • You must use the same key that was used for encryption
  • If decryption fails, verify the key matches the one used during encryption

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.