# Encrypt

> Kalipso 5.0 documentation · https://doc.sysdevmobile.com/kalipso/5.0/developing/form/actions/actions-description/group-code-flow/encrypt

Encrypt a string or file based on a specified key.

Action available for the following operating systems:

-d4a54d199c0ad0f6bafe31121399c7f2.png)

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

:::info
The maximum Password size is 32 bytes of UTF-8 chars.
:::

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

:::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.
:::

* **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

:::info
Encryption is done using the Advanced Encryption Standard 256 (AES).
:::
