xor static method

Uint8List xor(
  1. Uint8List value,
  2. Uint8List nonce,
  3. Uint8List key
)

Encrypts specified value using a nonce and a secret key.

Implementation

static Uint8List xor(Uint8List value, Uint8List nonce, Uint8List key) =>
    Sodium.cryptoStreamXor(value, nonce, key);