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.

Name Default Value Allowable Values Description
Hash Attribute Name hash.value The name of the FlowFile Attribute into which the Hash Value should be written. If the value already exists, it will be overwritten
Hash Algorithm MD5 * SKEIN-512-160
* RIPEMD320
* SHA-384
* SKEIN-1024-512
* SKEIN-512-512
* SHA
* SKEIN-256-256
* SKEIN-512-256
* BLAKE2B-512
* SHA3-384
* SHA-512/256
* SM3
* RIPEMD256
* GOST3411
* MD5
* OID.2.16.840.1.101.3.4.2.9
* SHA3-224
* MD4
* MD2
* KECCAK-224
* OID.2.16.840.1.101.3.4.2.7
* BLAKE2B-256
* OID.2.16.840.1.101.3.4.2.8
* 2.16.840.1.101.3.4.2.8
* OID.2.16.840.1.101.3.4.2.10
* BLAKE2B-160
* 2.16.840.1.101.3.4.2.7
* SHA-512/224
* SKEIN-512-384
* SKEIN-256-224
* BLAKE2B-384
* 2.16.840.1.101.3.4.2.9
* SKEIN-256-160
* SHA3-256
* KECCAK-256
* RIPEMD128
* SHA3-512
* KECCAK-384
* SKEIN-256-128
* KECCAK-288
* WHIRLPOOL
* SHA-224
* RIPEMD160
* KECCAK-512
* SKEIN-1024-1024
* 2.16.840.1.101.3.4.2.10
* SKEIN-512-224
* TIGER
* SHA-512
* SHA-256
* SKEIN-1024-384
* SKEIN-512-128
* SHA-1
Determines what hashing algorithm should be used to perform the hashing function

Relationships:

Name Description
failure Any FlowFile that cannot be processed successfully will be sent to this relationship without any attribute being added
success FlowFiles that are process successfully will be sent to this relationship

Reads Attributes:

None specified.

Writes Attributes:

Name Description
<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