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
| Field | Required | What it does |
|---|---|---|
| Encrypted token | Yes | Encrypted text (base64) |
| Fernet key | Yes | Decryption key |
| Variable | Yes | Variable name to store the decrypted text Default: decrypted. |
What it gives back
{decrypted}– Decrypted text
See all Security steps.
Errors
| Error | Description |
|---|---|
| Invalid key | The provided key is not a valid Fernet key |
| Invalid token | The token is not a valid Fernet token |
| Token expired | The 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