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.cryptoAeadXchacha20poly1305IetfDecryptDetached(
null, cipher, mac, additionalData, nonce, key);