Help Centre › Functions & 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:
- Navigate to the process where you would like to add the Hash text function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the CRYPTO Hash text option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Text | Yes | Text | - | The text to hash |
| Algorithm | No | Select | sha256 | Hash algorithm: sha256, sha512, sha384, sha1, md5, or blake2b |
| Variable | No | Text | hash | Variable name to store the hash digest |
Output variables
| Variable | Type | Description |
|---|---|---|
| {hash} | String | The 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