openString static method

String openString(
  1. Uint8List signedMessage,
  2. Uint8List publicKey
)

Checks the signed message using given public key and returns the string message with the signature removed.

Implementation

static String openString(Uint8List signedMessage, Uint8List publicKey) {
  final m = open(signedMessage, publicKey);
  return utf8.decode(m);
}