Decrypt
Decrypt text from a base64 encoding using a key and specified OpenSSL algorithm.
Input
Field | Definition | Type | Required |
---|---|---|---|
algorithm |
OpenSSL encryption algorithms; options are:
|
Dropdown | FALSE |
key | Text to use as the decryption key; this must be the same key, along with the algorithm, that you used to encrypt. | String | TRUE |
data | Encoded text to decrypt. | String | TRUE |
Output
Field | Definition | Type |
---|---|---|
output | Decrypted text of the provided input. | String |
Example
If algorithm is aes-256-cbc
, key is my secret key
, and data is hrDDPCtB0Cijc8EFAHhABiYEKdYBgt+e63RGV288SOI=
then output is My secret message!
.
This is the inverse of the example provided for the Encrypt card.
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 function card.