vectordotdev / vrl

Vector Remap Language
Mozilla Public License 2.0
127 stars 57 forks source link

support for some hash function like crc32 #997

Open geekfirstty opened 3 weeks ago

geekfirstty commented 3 weeks ago

I want to use crc32 hash function in remap, can you provide support for this.

jszwedko commented 3 weeks ago

I think this would be a reasonable addition. If anyone wants to take a shot at this the implementation of the md5 function should be a good reference: https://github.com/vectordotdev/vrl/blob/main/src/stdlib/md5.rs

(I moved this issue to the VRL repository since it is asking for a new function)