compute static method

Uint8List compute(
  1. Uint8List value,
  2. Uint8List key
)

Computes a tag for given value and key.

Implementation

static Uint8List compute(Uint8List value, Uint8List key) =>
    Sodium.cryptoAuth(value, key);