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. 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.
Name | Description | Default Value | Valid Values | EL | Sensitive |
---|---|---|---|---|---|
Hash Attribute Name | The name of the FlowFile Attribute into which the Hash Value should be written. If the value already exists, it will be overwritten | hash.value | No | No | |
Hash Algorithm | Determines what hashing algorithm should be used to perform the hashing function | MD5 |
| No | No |
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 |