xxh64sum function
Gets the 64-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 xxh64sum(String input, [Encoding? encoding]) {
return xxh64.string(input, encoding).hex();
}