AES_ENCRYPT

Encrypts text using AES-256-CBC

The output is Base64 encoded. An initialization vector can optionally be passed as a third argument. Note, the secret key must be 32 characters long.

Syntax 

AES_ENCRYPT(text, key, [iv])

Usage examples 

Example 1

Formula

AES_ENCRYPT("hello world", CREDENTIAL.secret_key)

Sample Actions 

Event transform
AES_ENCRYPT
Event transform
My Action
Event transform
AES_ENCRYPT

Select an action to inspect.

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?