# Encrypt Asymmetric

Encrypt Asymmetric will use a Public Key to encrypt the data that can only be decrypted with the corresponding Private 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

* &#x20;**Data Type** *\<numeric> -* Select a File or Text to be Encrypted.
  * 1 - Text UTF-16 LE&#x20;
  * 2 - Text ANSI/Binary&#x20;
  * 3 - Text UTF-8
* **Source** *\<String> -* Select a Text, Variable or control to be Encrypted.
* **Target** - Select a Variable or Control
* **Result Encoding** *\<numeric>*
  * 1 - None (Binary)&#x20;
  * 2 - Base 64
* **Algorithm** *\<numeric> -* Select the algorithm to be used:&#x20;
  * 1- RSA PKCS1 Padding&#x20;
  * 2- RSA OAEP Padding
* **Key** *\<string> -* Fill with a String, Control or Variable. **PublicKey** must be provided in X509Encoded format encoded in Base64 (with no headers/footers).

{% hint style="info" %}
For more information see Android documentation:\
<https://developer.android.com/reference/java/security/spec/X509EncodedKeySpec>
{% endhint %}

* **Key Size** *\<numeric> -* Default value: 2048
