sharedSecret static method
Computes a shared secret key given a public key and a secret key for use in precalculation interface.
Implementation
static Uint8List sharedSecret(Uint8List pk, Uint8List sk) =>
Sodium.cryptoBoxBeforenm(pk, sk);
Computes a shared secret key given a public key and a secret key for use in precalculation interface.
static Uint8List sharedSecret(Uint8List pk, Uint8List sk) =>
Sodium.cryptoBoxBeforenm(pk, sk);