decryptDetachedAfternm static method

Uint8List decryptDetachedAfternm(
  1. Uint8List cipher,
  2. Uint8List mac,
  3. Uint8List nonce,
  4. Uint8List k,
)

Verifies and decrypts a detached cipher text and tag.

Implementation

static Uint8List decryptDetachedAfternm(
        Uint8List cipher, Uint8List mac, Uint8List nonce, Uint8List k) =>
    Sodium.cryptoBoxOpenDetachedAfternm(cipher, mac, nonce, k);