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.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Hash Attribute NameHash 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 AlgorithmHash AlgorithmMD5
  • 1.0.10118.3.0.55
  • SHA-1
  • SHA-384
  • HARAKA-256
  • SKEIN-512-256
  • SKEIN-1024-384
  • BLAKE3-256
  • BLAKE2B-160
  • KECCAK-288
  • WHIRLPOOL
  • SKEIN-512-384
  • SHA-224
  • SM3
  • BLAKE2B-512
  • OID.1.0.10118.3.0.55
  • TUPLEHASH128-256
  • GOST3411-2012-512
  • SKEIN-512-128
  • KECCAK-256
  • BLAKE2B-384
  • SHAKE256-512
  • OID.2.16.840.1.101.3.4.2.12
  • OID.2.16.840.1.101.3.4.2.11
  • 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
  • HARAKA-512
  • PARALLELHASH128-256
  • SHAKE128-256
  • KECCAK-224
  • SKEIN-512-512
  • PARALLELHASH256-512
  • SKEIN-512-160
  • OID.1.2.804.2.1.1.1.1.2.2.3
  • SKEIN-1024-512
  • GOST3411
  • 1.2.804.2.1.1.1.1.2.2.3
  • BLAKE2B-256
  • SKEIN-1024-1024
  • OID.1.2.804.2.1.1.1.1.2.2.2
  • OID.1.2.804.2.1.1.1.1.2.2.1
  • SHA3-384
  • SHA-512/224
  • BLAKE2S-256
  • OID.2.16.840.1.101.3.4.2.9
  • OID.2.16.840.1.101.3.4.2.8
  • OID.2.16.840.1.101.3.4.2.7
  • TIGER
  • RIPEMD256
  • SHA3-224
  • SKEIN-256-256
  • SHA3-512
  • RIPEMD320
  • 2.16.840.1.101.3.4.2.9
  • TUPLEHASH256-512
  • RIPEMD160
  • GOST3411-2012-256
  • SKEIN-512-224
  • 1.2.804.2.1.1.1.1.2.2.1
  • KECCAK-512
  • 2.16.840.1.101.3.4.2.8
  • 1.2.804.2.1.1.1.1.2.2.2
  • 2.16.840.1.101.3.4.2.7
  • 2.16.840.1.101.3.4.2.12
  • 2.16.840.1.101.3.4.2.10
  • BLAKE2S-160
  • 2.16.840.1.101.3.4.2.11
  • SHA-512/256
  • MD2
  • RIPEMD128
  • MD4
  • SHA-512
  • SKEIN-256-224
  • MD5
  • DSTU7564-512
  • BLAKE2S-128
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.