Encrypt
Encrypt text into 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 encryption key; the same key will be needed, along with the algorithm, to decrypt. | String | TRUE |
data | Text to encrypt. | Dropdown | TRUE |
Output
Field | Definition | Type |
---|---|---|
output | A base64 encoding of the provided input. | String |
Example
If algorithm is aes-256-cbc
, key is my secret key
, and data is My secret message!
then output is hrDDPCtB0Cijc8EFAHhABiYEKdYBgt+e63RGV288SOI=
.
The value of the output field can be sent wherever text can be sent. In order to decipher it, you will need to have the correct algorithm and key.