openString static method

String openString(
  1. Uint8List cipher,
  2. KeyPair keys
)

Decrypts the ciphertext using given keypair.

Implementation

static String openString(Uint8List cipher, KeyPair keys) {
  final m = open(cipher, keys);
  return utf8.decode(m);
}