crypto / net.consensys.cava.crypto.sodium / KeyExchange / SessionKeyPair / <init>

<init>

SessionKeyPair(rxKey: SessionKey, txKey: SessionKey)

Create a KeyPair from pair of keys.

Parameters

rxKey - The bytes for the secret key.

txKey - The bytes for the public key.