SHA-1
AI-generatedSummary
Compute the SHA-1 hash of a binary file contained in a specified input binary field and add the resulting hash value to a specified output field in the JSON data.
Inputs
- Input Binary Field (required) — Specify the name of the binary data field containing the file to hash (default is 'data').
- Output Hash Field (required) — Specify the name of the JSON field where the resulting SHA-1 hash string will be stored (default is 'hash').
Output shape
a list of items, each containing the original JSON data plus a new field with the SHA-1 hash string, and binary data unchanged
Each output item retains its original binary data, and the SHA-1 hash is computed from the binary content of the specified input field per item.