hash

Description: Returns a hex encoded string using the hash algorithm provided. This can be used to generate unique keys.

Subject Type: String

Arguments:

Return Type: String

Examples: We can hash an attribute named "payload" by using the Expression ${payload:hash('SHA-256')} If the attribute payload had a value of "string value" then the Expression ${payload:hash('SHA-256')} will return "9b6a1a9167a5caf3f5948413faa89e0ec0de89e12bef55327442e60dcc0e8c9b".