computeServerSessionKeys static method
Computes a pair of shared keys using the server's public key, the server's secret key and the client's public key.
Implementation
static SessionKeys computeServerSessionKeys(
KeyPair serverPair, Uint8List clientPublicKey) =>
Sodium.cryptoKxServerSessionKeys(
serverPair.pk, serverPair.sk, clientPublicKey);