David Handermann created NIFI-11184:
---------------------------------------

             Summary: Deprecate HashAttribute and CryptographicHashAttribute
                 Key: NIFI-11184
                 URL: https://issues.apache.org/jira/browse/NIFI-11184
             Project: Apache NiFi
          Issue Type: Sub-task
          Components: Extensions
            Reporter: David Handermann
            Assignee: David Handermann


The HashAttribute and CryptographicHashAttribute Processors support different 
approaches for digesting one or more FlowFile attribute values using a 
configurable algorithm.

The HashAttribute Processor is hard-coded to use the MD5 algorithm, and also 
concatenates both the attribute name and value hash.

The CryptographicHashAttribute Processor supports a configurable algorithm, but 
computes the hash based on the one attribute value per property configured.

The UpdateAttribute Processor can be configured using Expression Language and 
the {{hash}} function to digest one or more attributes as necessary. The 
{{hash}} function supports all algorithms available through the 
{{MessageDigest}} interface, which should provide sufficient flexibility for 
various use cases.

Both the {{HashAttribute}} and {{CryptographicHashAttribute}} Processors should 
be deprecated for removal.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to