# Hash Text

This activity hashes a given text using the user-specified algorithm.

### Input

* **Algorithm :**\
  Specifies the algorithm used for hashing the user-specified text. The available options are:-
  * `SHA` (default)
  * `MD5`
* **Plain Text:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments) ![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  Specifies the text that is to be hashed.
* **Secret Key:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments)\
  Specifies the secret key that is used to hash the text when using the SHA algorithm.

### Output

* **HashText:** [`String Variable`](https://docs.visualyze.ai/getting-started/rpa-studio/variables/user-defined-variables-1#string) \
  Specifies the hashed text stored in a 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/hash-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.
