Decrypt text from a base64 encoding using a key and specified OpenSSL algorithm.
algorithm (dropdown): options for OpenSSL encryption algorithms.
key: text to use as the decryption key; this must be the same key, along with the algorithm, that you used to encrypt.
data: encoded text to decrypt.
- output: the decrypted text of the provided input.
If algorithm is
aes-256-cbc, key is
my secret key, and data is
then output is
My secret message!.
This is the inverse of the example provided for the Encrypt card.
Note: If the incorrect algorithm or key is used to decrypt encoded text, the decrypt step in the Flow may generate an error. If you need to catch and handle the error, use the If Error card.