crc32code function
Gets the CRC-32 value of a String
Parameters:
input
is the string to hash- The
encoding
is the encoding to use. Default isinput.codeUnits
Implementation
int crc32code(String input, [Encoding? encoding]) {
return crc32.string(input, encoding).number();
}