HashText

Estimated reading: 3 minutes 2585 views

This activity assists the user to create a unique digital fingerprint, known as a hash value, for any text you provide. This fingerprint serves as a quick and secure way to compare or verify the original text without revealing its contents.

Key Points

1. Secret Key Requirement: For certain algorithm types listed below, you’ll need to include a “Secret” key along with the text to generate the hash value:
a. HMAC using MD5 (Deprecated)
b. HMAC using SHA-1 (Deprecated)
c. HMAC using SHA-256
d. HMAC using SHA-384
e. HMAC using SHA-512
2. No Minimum Character Requirement: There’s no specific minimum character requirement for the secret key with these algorithms.
3. Accessing the Secret Key Option: If you select any of the above algorithm types, the “Secret key” parameter won’t be visible in the properties section. Instead, you’ll find this option when you double-click on the activity itself.

Properties

INPUT

Algorithm: This parameter indicates to choose the algorithm type from the drop-down menu that is used to generate the hash for the input text based on it.

1. HMAC using MD5 (Deprecated)
2. HMAC using SHA-1 (Deprecated)
3. HMAC using SHA-256
4. HMAC using SHA-384
5. HMAC using SHA-512
6. SHA-1
7. SHA-256
8. SHA-384
9. SHA-512

Refer to the documentation below to view the types of algorithms.

By default, the activity recommends the most commonly used type, ” HMAC using SHA-256”.

DelayAfter: It assists the user to add a delay before initiating subsequent activities. The delay duration here is in milliseconds. By default, it is set to “1000” milliseconds.
When the option is left blank, the delay will not be considered.

DelayBefore: It assists the user in adding a delay before starting the execution of the activities. The delay duration here is in milliseconds. By default, it is set to “1000” milliseconds.
When the option is left blank, the delay will not be considered.

Input Text*:  This parameter indicates the input text value for which the unique hash value needs to be generated.

It accepts values in the “String” datatype. You can either hardcode the values in “String” format or provide a variable in “String” datatype.

Key Encoding: It assists the user to choose the key encoding type from the drop-down menu that is used to perform the encryption algorithm.

Click here to refer the documentation to view the types of key encoding.

By default, the activity recommends the most commonly used type, “Unicode UTF-8”.

MISC

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”

True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: It indicates the version of the feature being used.

OUTPUT

Hash: It assists the user to declare a variable to view the output of the activity as the “HASH” value generated for the provided input text. 

This field returns values in “String” datatype. You can either hardcode the values in “String” format or can provide the variable in “String” datatype.

Result: It provides the ability to view the execution status of the activity. It returns values in “Boolean.”

True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

Represents mandatory fields to execute the workflow.

Share this Doc

HashText

Or copy link

CONTENTS