getHash method
Implementation
List<int> getHash() {
List<int> hash;
if (password == null) {
hash = <int>[];
} else if (authPlugin == AuthPlugin.cachingSha2Password) {
hash = _makeCachingSha2Password(scrambleBuffer, password!);
} else {
hash = _makeMysqlNativePassword(scrambleBuffer, password!);
}
return hash;
}