hashUtf8String static method
Implementation
static Uint8List hashUtf8String(String string) {
Uint8List bytes = Uint8List(string.length);
for (int i = 0; i < string.length; i++) {
bytes[i] = string.codeUnitAt(i);
}
return hash(bytes, 0, bytes.length);
}