# Decrypt Text

This activity decrypts a text with a key based on a specified key encoding and algorithm.

### Input

* **Algorithm:**\
  A drop-down that enables you to select the algorithm for decrypting the text provided as input. The following options are available&#x20;
  * [`Aes256`](https://en.wikipedia.org/wiki/Advanced/_Encryption/_Standard)
  * [`Triple Des`](https://en.wikipedia.org/wiki/Triple/_DES)
  * [`Rsa`](https://en.wikipedia.org/wiki/RSA/_/\(cryptosystem/)
  * [`SHA256Rsa`](https://en.wikipedia.org/wiki/SHA-2)
* **Public Key:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string)<mark style="color:red;">`Required`</mark>\
  Specifies the key required for the text decryption process when using the SHA256Rsa algorithm.
* **Private Key:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string)\
  Specifies the key required for the text decryption process when using the RSA algorithm.
* **Secret Key:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string)<mark style="color:red;">`Required`</mark>\
  Specifies the key for the text decryption process when using the AES256 and TripleDes algorithm. Input a **16 character** string for **AES256** and a **32 Character** for **TripleDes** as the key input\\
* **Cipher Text:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string)<mark style="color:red;">`Required`</mark>\
  Specifies the encrypted text that is to be decrypted by this activity.
* **Signature:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string)\
  Specifies the signature that is used for verification in the SHA256Rsa algorithm.

### Output

* **Result:** [`String Variable`](https://docs.visualyze.ai/getting-started/rpa-studio/variables#string)\
  Stores the decrypted text in the specified [String](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) variable.
