Skip to main content
Version: 4.46.0

File Hasher

The File Hasher component allows you to create a hash for the contents of a file or a stream directly.

Configuration

Hash algorithm Selection of hash algorithms.

  • MD5
  • SHA-1
  • SHA-2 (SHA-256/SHA-512)

Inputs

The component will look on the incoming message for the binary or fullPath keys. If it finds both, the binary takes priority.

Input

{
"binary" // containing a readable stream,
"fullPath": "C:\\Users\\Administrator\\Downloads\\new.xlsx"
}

Outputs

Output

The component will store the hash in the hash key.

{
"binary" // containing a readable stream,
"fullPath": "C:\\Users\\Administrator\\Downloads\\new.xlsx"
"hash": "d41d8cd98f00b204e9800998ecf8427e"
}