CRYPTO Hash text function

The CRYPTO Hash text function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Crypto functionality to hash text.

For a full list of available functions, please read CRYPTO functions.


Description

The Hash text function computes a cryptographic hash digest of the input text. Hashing is a one-way function – you cannot reverse a hash back to the original text.


Setting it up

To use the Hash text function, follow these instructions:

{{popups:rpas/add:action=crypto-hash}}

Once on a process map:

  1. Navigate to the process where you would like to add the Hash text function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the CRYPTO Hash text option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
TextYesText-The text to hash
AlgorithmNoSelectsha256Hash algorithm: sha256, sha512, sha384, sha1, md5, or blake2b
VariableNoTexthashVariable name to store the hash digest

Output variables

VariableTypeDescription
{hash}StringThe hexadecimal hash digest

Errors

This action does not produce errors.


Tips

  • SHA-256 is recommended for most use cases
  • MD5 and SHA-1 should only be used for legacy compatibility, not security

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.