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

Tags:

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

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.

NameDefault ValueAllowable ValuesDescription
Hash Attribute Namehash.valueThe name of the FlowFile Attribute into which the Hash Value should be written. If the value already exists, it will be overwritten
Hash AlgorithmMD5
  • RIPEMD256
  • RIPEMD320
  • GOST3411
  • SHA-384
  • MD5
  • TIGER
  • MD4
  • MD2
  • RIPEMD128
  • SHA
  • SHA-512
  • SHA-256
  • WHIRLPOOL
  • SHA-224
  • SHA-1
  • RIPEMD160
Determines what hashing algorithm should be used to perform the hashing function

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

Reads Attributes:

None specified.

Writes Attributes:

NameDescription
<Hash Attribute Name>This Processor adds an attribute whose value is the result of Hashing the existing FlowFile attributes. The name of this attribute is specified by the <Hash Attribute Name> property