activities
latest
false
Developer Activities
Last updated Oct 22, 2024

Hash Text

UiPath.Cryptography.Activities.KeyedHashText

Description

Hashes a string with a key using a specified algorithm and encoding format.

Project compatibility

Windows - Legacy | Windows | Cross-platform

Windows, Cross-platform configuration

  • Algorithm - A drop-down menu which enables you to select the keyed hashing algorithm you want to use. The following options are available: HMACMD5 (Non-FIPS), HMACSHA1, HMACSHA256, HMACSHA384, HMACSHA512, SHA1, SHA256, SHA384, and SHA512.
  • Text - The text that you want to hash. This field supports only strings and String variables.
  • Key - The key that you want to use to hash the specified text. This field supports only strings and String variables.
Advanced options

Options

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

Output

  • Hash - Reference to the hashed text stored in a String variable for use in other activities.

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: HMACMD5 (Non-FIPS), HMACRIPEMD160 (Non-FIPS), HMACSHA1, HMACSHA256, HMACSHA384, HMACSHA512, and MACTRipleDES.
  • Key - The key that you want to use to hash the specified input string. This field supports only strings and String variables.
  • Key Secure String - The secure string used to hash the input string.
  • 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.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.