pub fn crypto_kx_keypair() -> (PublicKey, SecretKey)
Expand description

Returns a randomly generated keypair, suitable for use with key exchange.

Equivalent to libsodium’s crypto_kx_keypair.