# Encrypt

Encrypt a string or file based on a specified key.

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MAlPVpH3WRwBy16c7JY%2F-MAlQBZuuTnc6hyzKSVQ%2Fimage.png?alt=media\&token=5c9534b7-ca05-4ac4-b408-2207cd5a5295)

### Parameters

* **Source Type** - The type of the source that the user wants to encrypt. It can be one of:
  * 1\. File
  * 2\. Text
* **Password** <*string*> - The password that the user wants to use to encrypt the data.

{% hint style="info" %}
The maximum Password size is 32 bytes of UTF-8 chars.
{% endhint %}

* **Unicode** - Defines if the files or text that the user wants to encrypt is in Unicode or not. It can be one of:
  * 1\. Yes
  * 2\. No
* **Source File** <*string*> - The full path and file name of the source file or text.
* **Target File** <*string*> - The full path and file name of the destination file or text (encrypted file or encrypted text).&#x20;

{% hint style="info" %}
If the Target File is a Control (example: an Input Box), the user may loose information, because the encrypted string can contain non printable chars.
{% endhint %}

* **Printable Chars** - Defines if the chars are printable or not. If this option is 'YES' the string size is triple (3x).  It can be one of:
  * 1\. Yes
  * 2\. No

{% hint style="info" %}
Encryption is done using the Advanced Encryption Standard 256 (AES).
{% endhint %}
