Closed
Description
Component(s)
pkg/ottl
Is your feature request related to a problem? Please describe.
A new sha-512 ottl function/converter transforms ingested data to a hash value.
This functionality is an extension to existing sha-1, sha-256 functions and there are use cases (storing password, verifying data) where users want stronger security (comparing to sha-256) with its larger hash value.
Describe the solution you'd like
Similar to sha256, crypto/sha512
will be utilized to calculate the hash value by rejecting nil
/empty
args with descriptive error message(s).
The API interface look like:
SHA512(attributes["device.name"])
SHA512("name")
Describe alternatives you've considered
Maybe attributeprocessor
by specifying a hash
param?!
Additional context
No response