Automation Action – Encryption | ThinkAutomation

Automation Action: Encryption

Encrypt/decrypt text data or files.

Encrypts or Decrypts text or files using AES encryption and returns the encrypted/decrypted text/filename to a variable.

This action is used both to encrypt and decrypt text or files. Select the Encrypt or Decrypt options.

Encrypting

To encrypt text select the Encrypt option and enter the text or file to encrypt.

When encrypting text you must specify the Encoding method to use. This can be hex, base64 or URL. The default is base64.

To encrypt a file select the Encrypt File tab and select the File Path & File Name. Select the Save To Path to save the encrypted file to. Optionally enter a Save To Filename. If no filename is specified then the original file name will be used but with an ‘.aes’ extension. You can use %variable% replacements for the file path & names – this enables you to use it with the For..Each action if you wanted to encrypt attachments.

You must specify a Key Length and Secret Key. The key length can be 256, 192 or 128. These are bit sizes. The secret key length must be 32 characters for 256 bit keys, 24 characters for 192 bit keys or 16 characters for 128 bit keys. You can use %variable% replacements for the secret key – however this must convert to the correct key length when the message is processed.

The encrypted text/file path can be returned to a variable. Select from the Assign Encrypted File To list.

Decrypting

To decrypt text select the Decrypt option and enter the text or file to decrypt. The text must be encoded using the same encoding method used to encrypt (base64, hex or URL). You must also specify the Encoding method.

To decrypt a file select the Decrypt File tab and select the File Path & File Name. Select the Save To Folder to save the decrypted file to and enter the Save To File Name.

You must specify a Key Length and Secret Key. The key length can be 256, 192 or 128. These are bit sizes. The secret key length must be 32 characters for 256 bit keys, 24 characters for 192 bit keys or 16 characters for 128 bit keys. You can use %variable% replacements for the secret key – however this must convert to the correct key length when the message is processed.

The decrypted text/file path can be returned to a variable. Select from the Assign Decrypted File To list.

This is one action from over 180 actions included with ThinkAutomation. The ThinkAutomation business process automation (BPA) solution is designed to automate on-premises and cloud-based business processes that are triggered from incoming messages. Automate messages received by email, database updates, webhooks, web forms, web chat, SMS messages, Twitter, Teams messages, documents, local files and other messages sources. Create any number of workflow automations using the drag-and-drop low-code designer. Simple fixed pricing, with unlimited message processing reduces overall costs compared to hosted automation solutions.

You can also extend ThinkAutomation by creating your own custom automation actions using the built-in designer and C#/VB.net code editor.

Download Free 30 Day Trial

Back To Automation Actions List

ThinkAutomation Home