Encrypt

The Encrypt function card encrypts input text into Base64 encoding using a key and specified encryption algorithm.

Input

Field Definition Type Required
algorithm Select the encryption algorithm to use:
  • aes-128-cbc

  • aes-128-ecb

  • aes-256-cbc

  • aes-256-ecb

  • des-cbc

  • des-ecb

Dropdown FALSE
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 A Base64 encoding of the provided input string. 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-256-cbc

  • key: my secret key

  • data: My secret message!

Output

  • hrDDPCtB0Cijc8EFAHhABiYEKdYBgt+e63RGV288SOI=

Related topics

Functions

Workflow elements