You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cryptography actions enable you to encrypt and decrypt plain text and text from files providing a key and an encoding format.
The Encrypt text with AES action encrypts a text using the AES algorithm and a user-specified encryption key. You can provide the encryption key directly or through a variable.
To encrypt the text of a file directly, use the Encrypt from file with AES action. This action works similarly to the Encrypt text with AES action but requires a source file instead of a text value.
:::image type="content" source="media/cryptography/encrypt-from-file-with-aes-action.png" alt-text="Screenshot of the Encrypt from file with AES action.":::
To decrypt a text, use the Decrypt text with AES, and enter the encrypted text and the encryption key previously used to encrypt it. To decrypt and store a text in a file, deploy the Decrypt to file with AES and specify a destination path.
:::image type="content" source="media/cryptography/decrypt-to-file-with-aes-action.png" alt-text="Screenshot of the Decrypt to file with AES action.":::
Apart from encryption and decryption, the Cryptography group of actions provides actions to hash values with and without a key. Like the encryption actions, you can hash values from files using the Hash from file and Hash from file with key actions.
:::image type="content" source="media/cryptography/hash-from-file-with-key-action.png" alt-text="Screenshot of the Hash from file with key action.":::
Encrypt text with AES
Encrypt a string with AES, using a key and a specified encoding format.
Input parameters
Argument
Optional
Accepts
Default Value
Description
Encoding
N/A
System default, ASCII, Unicode, Big-endian Unicode, UTF-8
Specifies whether to use salt for encryption. When this option is enabled, the randomly generated salt becomes an output in the form of a base64 string.
Specifies whether to use an initialization vector. When this option is enabled, the randomly generated initialization vector becomes an output in the form of a base64 string
Specifies whether to use salt for encryption. When this option is enabled, the randomly generated salt becomes an output in the form of a base64 string.
Specifies whether to use an initialization vector. When this option is enabled, the randomly generated initialization vector becomes an output in the form of a base64 string