hashMessage method

  1. @override
String hashMessage(
  1. String message
)
override

Implementation

@override
String hashMessage(String message) {
  return hex.encode(
    SHA256Digest().process(
      Uint8List.fromList(
        utf8.encode(message),
      ),
    ),
  );
}