Settings
| Setting | What it is |
|---|---|
| Text | Hashed as UTF-8 bytes. |
| Algorithm | SHA-256 is the default; MD5 is for checksums of older systems. |
| Output | "hex" or "base64" |
Technical details
| Key | Value |
|---|---|
text | any JSONits `{{ }}` must give a string |
algorithm | "sha256" or "sha512" or "md5", by default "sha256" |
format | "hex" or "base64", by default "hex" |
Output
| Field | Type |
|---|---|
digest | string |
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
}