Skip to content

File hash¤

Calculates the hash sum of a file. The hash sum is cached so that subsequent calls to this operator are fast. Note that initially and every time the specified resource has been updated, this operator might take a long time (depending on the file size). This operator supports using different hash algorithms from the Secure Hash Algorithms family (SHA, e.g. SHA256) and two algorithms from the Message-Digest Algorithm family (MD2 / MD5). Please be aware that some of these algorithms are not secure regarding collision- and other attacks. Note: This transform operator ignores any inputs.

Parameter¤

File¤

File for which the hash sum will be calculated. If left empty, the file of the input dataset is used.

  • Datatype: resource
  • Default Value: None

Algorithm¤

The hash algorithm to be used.

  • Datatype: string
  • Default Value: SHA256

Comments