encryptDetachedAfternm static method

DetachedCipher encryptDetachedAfternm(
  1. Uint8List value,
  2. Uint8List nonce,
  3. Uint8List k
)

Encrypts a message with a key and a nonce, returning the encrypted message and authentication tag

Implementation

static DetachedCipher encryptDetachedAfternm(
        Uint8List value, Uint8List nonce, Uint8List k) =>
    Sodium.cryptoBoxDetachedAfternm(value, nonce, k);