AES_DECRYPT

Note: AES_ENCRYPT and AES_DECRYPT are now deprecated. Please use either TINES_ENCRYPT/TINES_DECRYPT or OPENSSL_ENCRYPT/OPENSSL_DECRYPT instead.

Decrypts text using AES

The input must be AES-256-CBC Base64 encoded or be the direct output of AES_ENCRYPT. An initialization vector can optionally be passed as a third argument.

Syntax 

AES_DECRYPT(encoded_text, key, [iv])

Usage examples 

Example 1

Formula

AES_DECRYPT(my_action.encrypted_message, CREDENTIAL.secret_key)

Sample Actions 

Event Transform
My Action
Event Transform
AES_DECRYPT

Select an action to inspect

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

Event Transform
AES_DECRYPT
Event Transform
My Action

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?