Hash
Description
Pure function returning the hex-encoded hash of the input text using the selected algorithm. The output is always lowercase hexadecimal.
When to use
Use Hash when you need a deterministic fingerprint of a string value. Common scenarios include computing checksums for cache keys, verifying data integrity, generating Gravatar URLs (MD5 of a lowercase email), or comparing content without storing the original. For cryptographic signature verification (e.g. webhook HMAC), note that this node computes a plain hash, not an HMAC.
Pins
Input pins
| Pin | Type | Default | Notes |
|---|---|---|---|
| Text | string | — | The text to hash. |
| Algorithm | enum | SHA256 | The hashing algorithm to use. SHA-256 is the modern default; MD5 and SHA-1 are available for legacy compatibility. |
Output pins
| Pin | Type | Notes |
|---|---|---|
| Result | string | The hash digest as a lowercase hexadecimal string. |
Example
Compute a SHA-256 hash of a request body for integrity checking. Read the incoming HTTP body with Stream to string, then wire the Value output into the Text input of Hash with Algorithm set to SHA-256. Feed the Result output into an Equals node alongside the expected hash value to verify they match.