# Decrypt Symmetric

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-code-flow/decrypt-symmetric
>
> Decrypts a file or text with a shared key using AES CBC or ECB PKCS5 padding, with options for key type, salt, rounds and IV.

Decrypt Symmetric allows to decrypt data with a unique Key. This Key is the same for Encrypt and Decrypt.

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

* **Data Type**_\<numeric> -_ Select a File or Text to be Decrypted:
  * 1 - File
  * 2 - Text UTF-16 LE
  * 3 - Text ANSI/Binary
  * 4 - Text UTF-8
* **Source File**_\<String> -_ Select a File/Text/Variable or control to be Decrypted.
* **Source Encoding**_\<numeric>_
  * 1 - None (Binary)
  * 2 - Base 64
* **Target File**_<> -_ Select a Variable or Control.
* **Algorithm**_\<numeric> -_ Select the algorithm to be used:
  * 1 - AES CBC PKCS5 Padding
  * 2 - AES EBC PKCS5 Padding
* **Key Type**_\<numeric>_
  * 1 - 128 bit key
  * 2 - 256 bit key
  * 3 - Generate SHA256 from key
  * 4 - Generate HMAC SHA256 from key
* **Key**_\<string>_ Fill with a String, Control or Variable. It is expected the binary key value, without any encoding like Base64 or other.
* **Salt**_\<string> -_ In cryptography, salt is random data that is used as an additional entry for a unidirectional function that "breaks" data, a password or passphrase. Salts are used to protect passwords in storage. To use fill with a String, Control or Variable. It is expected the binary key value, without any encoding like Base64 or other.
* **Nbr. of Rounds**_\<numeric> -_ Fill with a Numeric value, Control or Variable.
* **IV Type**_<>_ Select a Initialization vector (IV):
  * **Provided** (In this case you have to provide the initialization vector in the **IV** parameter).
  * **Data Starts With IV** (In this case, the encrypted string should start with the initialization vector).
* **IV**_\<numeric> -_ Select a Variable or a Control.
