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