decryptStringAfternm static method

String decryptStringAfternm(
  1. Uint8List cipherText,
  2. Uint8List nonce,
  3. Uint8List k
)

Verifies and decrypts a cipher text produced by encrypt.

Implementation

static String decryptStringAfternm(
    Uint8List cipherText, Uint8List nonce, Uint8List k) {
  final m = decryptAfternm(cipherText, nonce, k);
  return utf8.decode(m);
}