SHA-256
AI-generatedSummary
Calculate the SHA-256 hash of a file from a binary input field and write the resulting hash string to a specified output field in the item JSON.
Inputs
- Input Binary Field (required) — The name of the binary property in the input data that contains the file to hash. Defaults to 'data'.
- Output Hash Field (required) — The name of the JSON field where the resulting SHA-256 hash string will be stored. Defaults to 'hash'.
Output shape
a list of items with original JSON and binary data, each augmented by a new field with the SHA-256 hash string
Processes each incoming item independently; the output preserves existing binary data and JSON fields, adding the hash field as specified. No pagination or error envelope; errors propagate normally.
Examples
Example 1: Hash a PDF file loaded into the binary property named 'data' and store the SHA-256 hash in the JSON field 'fileHash'
Set 'Input Binary Field' to 'data' (default). Set 'Output Hash Field' to 'fileHash'.