Future<String> hashMessage(String message) async { final result = (await crypto.Sha256().hash(utf8.encode(message))).bytes; return hex.encode(result); }