xxh32sum function
Gets the 32-bit xxHash hash of a String in hexadecimal.
Parameters:
input
is the string to hash- The
encoding
is the encoding to use. Default isinput.codeUnits
Implementation
String xxh32sum(String input, [Encoding? encoding]) {
return xxh32.string(input, encoding).hex();
}