Encrypt text into a base64 encoding using a key and specified OpenSSL algorithm.
- algorithm: Choose from a dropdown of OpenSSL encryption algorithms.
- key: The text to use as the encryption key. (The same key will be required, along with the algorithm, to decrypt.)
- data: The text to encrypt.
- output: A base64 encoding of the provided input.
If algorithm is
aes-256-cbc, key is
my secret key, and data is
My secret message!
Then output is
The value of output can be sent wherever text can be sent. In order to decipher it, someone will need the correct algorithm and the key.