seal static method

Uint8List seal(
  1. Uint8List value,
  2. Uint8List publicKey
)

Encrypts a value for a recipient having specified public key.

Implementation

static Uint8List seal(Uint8List value, Uint8List publicKey) =>
    Sodium.cryptoBoxSeal(value, publicKey);