FlowmageDocs

Hash

Makes a one-way fingerprint of text, to compare or check it later.

Settings

SettingWhat it is
TextHashed as UTF-8 bytes.
AlgorithmSHA-256 is the default; MD5 is for checksums of older systems.
Output"hex" or "base64"
Technical details
KeyValue
textany JSONits `{{ }}` must give a string
algorithm"sha256" or "sha512" or "md5", by default "sha256"
format"hex" or "base64", by default "hex"

Output

FieldType
digeststring
Sample output, and the expression for each field
  • digest"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "algorithm": "sha256",
    "format": "hex",
    "text": "<text>"
  },
  "label": "Hash",
  "type": "crypto.hash",
  "version": 1
}