AES
The AES function card encrypts input text using AES (Advanced Encryption Standard) algorithms and returns the encrypted text.
Input
Field | Definition | Type | Required |
---|---|---|---|
algorithm | Select one of the OpenSSL encryption algorithms to encrypt your input. | Dropdown | TRUE |
key | Text string to use as the encryption key. The same key is needed, along with the specific algorithm, to decrypt the text. | String | TRUE |
data | Text string to be encrypted. | String | TRUE |
Output
Field | Definition | Type |
---|---|---|
output | Encrypted string of your input data. | String |
You can use the result of the output field wherever text can be sent.
To decrypt the output string, you need to have the correct algorithm and key.
Example
Input
-
algorithm: aes-128-cbc
-
key: my secret key
-
data: My secret message!
Output
-
RTOnd5dSDvH8TXF/fiHQ7JuLuxxCpk4nAAfzg/1rHTY=