Convert string to MD5 with validate
bool validateMD5(String hash) { return MD5Digest().process(asUint8List()).asBase64() == hash; }