# Encrypt

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-code-flow/encrypt
>
> Encrypts a file or text with AES 256 using a password of up to 32 bytes, with the Encrypt action.

Encrypt a string or file based on a specified key.

Action available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.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).
:::
