# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.visualyze.ai/rpa-studio/data/cryptography/decrypt-text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
