Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6287

Add ability to hash an attribute or value in expression language

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      Similar to 6255

       

      In expression language it would be very useful to hash arbitrary data or attributes from the incoming flow file.  For example, if the incoming flow file has an attribute called 'serial_num', the user can hash this value in expression language like `${hash('MD5', 'serial_num')}` or similar syntax.

       

      Today users need to add a CryptographicHashAttribute processor to accomplish this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pcgrenier Phillip Grenier
                Reporter:
                edja Ed Jackson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: