decryptDetached static method
Verifies and decrypts a cipher text and mac produced by encrypt detached.
Implementation
static Uint8List decryptDetached(
Uint8List cipher, Uint8List mac, Uint8List nonce, Uint8List key,
{Uint8List? additionalData}) =>
Sodium.cryptoAeadChacha20poly1305DecryptDetached(
null, cipher, mac, additionalData, nonce, key);