Description:

Calculates a hash value for the Content of a FlowFile and puts that hash value on the FlowFile as an attribute whose name is determined by the <Hash Attribute Name> property

Additional Details...

Tags: hash, content, MD5, SHA-1, SHA-256

Properties:

In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.

NameDescriptionDefault ValueValid ValuesELSensitive
Hash Attribute NameThe name of the FlowFile Attribute into which the Hash Value should be written. If the value already exists, it will be overwrittenhash.valueNoNo
Hash AlgorithmDetermines what hashing algorithm should be used to perform the hashing functionMD5
  • RIPEMD256
  • RIPEMD320
  • GOST3411
  • SHA-384
  • MD5
  • TIGER
  • MD4
  • MD2
  • RIPEMD128
  • SHA
  • SHA-512
  • SHA-256
  • WHIRLPOOL
  • SHA-224
  • SHA-1
  • RIPEMD160
NoNo

Relationships:

NameDescription
failureAny FlowFile that cannot be processed successfully will be sent to this relationship without any attribute being added
successFlowFiles that are process successfully will be sent to this relationship