encryptAfternm static method

Uint8List encryptAfternm(
  1. Uint8List value,
  2. Uint8List nonce,
  3. Uint8List k
)

Encrypts a message with a key and a nonce.

Implementation

static Uint8List encryptAfternm(
        Uint8List value, Uint8List nonce, Uint8List k) =>
    Sodium.cryptoBoxEasyAfternm(value, nonce, k);