# Hash Text

> Deprecated reference for the Hash Text activity for hashing a string and returning the hexadecimal hash string.

`UiPath.Cryptography.Activities.HashText`

:::important
This activity is now deprecated. The SHA1, SHA256, SHA384, and SHA512 algorithms have been moved to the **Hash File** activity.
:::

## Description

Hashes a string using a specified algorithm and returns the hexadecimal string representation of the resulting hash.

## Project compatibility

### Windows - Legacy

## Configuration

### Properties panel

#### Common
* **Continue On Error** - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (`True`, `False`). The default value is `False`. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to `True`, the execution of the project continues regardless of any error.
  :::note
  If this activity is included in **Try Catch** and the value of the **Continue On Error** property is `True`, no error is caught when the project is executed.
  :::
* **DisplayName** - The display name of the activity.

#### Input
* **Algorithm** - A drop-down menu which enables you to select the keyed hashing algorithm you want to use. The following options are available: **MD5 (Non-FIPS)**, **RIPEMD160 (Non-FIPS)**, **SHA1**, **SHA256**, **SHA384**, and **SHA512**.
* **Encoding** - The encoding used to interpret the key specified in the Key property.
* **Text** - The string to be hashed by this activity.

#### Misc
* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

#### Output
* **Result** - Reference to the hashed input string to be used in other activities.
