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