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