crypto / net.consensys.cava.crypto.sodium / Box / KeyPair / <init>
<init>
KeyPair(publicKey: PublicKey, secretKey: SecretKey)
Create a KeyPair from pair of keys.
Parameters
publicKey - The bytes for the public key.
secretKey - The bytes for the secret key.