decryptStringDetached static method
Verifies and decrypts a detached cipher text and tag.
Implementation
static String decryptStringDetached(
Uint8List cipher, Uint8List mac, Uint8List nonce, Uint8List key) {
final m = decryptDetached(cipher, mac, nonce, key);
return utf8.decode(m);
}