> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/rpa-studio/data/cryptography/decrypt-text.md).

# 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`](/getting-started/rpa-studio/arguments.md#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`](/getting-started/rpa-studio/arguments.md#string)\
  Specifies the key required for the text decryption process when using the RSA algorithm.
* **Secret Key:** [`String Argument`](/getting-started/rpa-studio/arguments.md#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`](/getting-started/rpa-studio/arguments.md#string)<mark style="color:red;">`Required`</mark>\
  Specifies the encrypted text that is to be decrypted by this activity.
* **Signature:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)\
  Specifies the signature that is used for verification in the SHA256Rsa algorithm.

### Output

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