Function dryoc::classic::crypto_kx::crypto_kx_keypair
source · 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
.