HashContent

Deprecation notice:

This processor is deprecated and may be removed in future releases.

Please consider using one the following alternatives: CryptographicHashContent

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. This processor did not provide a consistent offering of hash algorithms, and is now deprecated. For modern cryptographic hashing capabilities, see "CryptographicHashContent".

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
  • 1.0.10118.3.0.55
  • SHA-1
  • SHA-384
  • SKEIN-512-256
  • SKEIN-1024-384
  • BLAKE2B-160
  • SHA
  • KECCAK-288
  • WHIRLPOOL
  • SKEIN-512-384
  • SHA-224
  • SM3
  • BLAKE2B-512
  • OID.1.0.10118.3.0.55
  • GOST3411-2012-512
  • KECCAK-256
  • SKEIN-512-128
  • BLAKE2B-384
  • SKEIN-256-160
  • OID.2.16.840.1.101.3.4.2.10
  • DSTU7564-256
  • SHA-256
  • BLAKE2S-224
  • SHA3-256
  • KECCAK-384
  • SKEIN-256-128
  • DSTU7564-384
  • KECCAK-224
  • SKEIN-512-512
  • SKEIN-1024-512
  • SKEIN-512-160
  • OID.1.2.804.2.1.1.1.1.2.2.3
  • GOST3411
  • 1.2.804.2.1.1.1.1.2.2.3
  • BLAKE2B-256
  • OID.1.2.804.2.1.1.1.1.2.2.2
  • SKEIN-1024-1024
  • OID.1.2.804.2.1.1.1.1.2.2.1
  • SHA3-384
  • OID.2.16.840.1.101.3.4.2.9
  • BLAKE2S-256
  • SHA-512/224
  • OID.2.16.840.1.101.3.4.2.8
  • OID.2.16.840.1.101.3.4.2.7
  • TIGER
  • RIPEMD256
  • SKEIN-256-256
  • SHA3-224
  • SHA3-512
  • RIPEMD320
  • 2.16.840.1.101.3.4.2.9
  • RIPEMD160
  • GOST3411-2012-256
  • 2.16.840.1.101.3.4.2.8
  • 1.2.804.2.1.1.1.1.2.2.1
  • KECCAK-512
  • SKEIN-512-224
  • 2.16.840.1.101.3.4.2.7
  • 1.2.804.2.1.1.1.1.2.2.2
  • 2.16.840.1.101.3.4.2.10
  • BLAKE2S-160
  • SHA-512/256
  • MD2
  • RIPEMD128
  • MD4
  • SHA-512
  • SKEIN-256-224
  • MD5
  • BLAKE2S-128
  • DSTU7564-512
Determines what hashing algorithm should be used to perform the hashing function

Relationships:

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

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 content. The name of this attribute is specified by the <Hash Attribute Name> property

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.