tuweni / org.apache.tuweni.crypto.sodium / KeyExchange / client

client

static fun client(clientKeys: KeyPair!, serverKey: PublicKey!): SessionKeyPair! (source)

Computer a pair of session keys for use by a client.

Parameters

clientKeys - KeyPair!: The client key pair.

serverKey - PublicKey!: The server public key.

Return
SessionKeyPair!: A pair of session keys.