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
hash, content, MD5, SHA-1, SHA-256
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, whether a property supports the NiFi Expression Language, 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 | Default Value | Valid 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 |
| Determines what hashing algorithm should be used to perform the hashing function |
| 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 |