> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-code-flow/encrypt.md).

# Encrypt

Encrypt a string or file based on a specified key.

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### 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).

{% 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 %}
