Function dryoc::classic::crypto_kx::crypto_kx_seed_keypair
source · pub fn crypto_kx_seed_keypair(
seed: &[u8; 32]
) -> Result<(PublicKey, SecretKey), Error>
Expand description
Computes and returns a keypair of (PublicKey, SecretKey)
based on seed
upon success. Uses the Blake2b function to derive a secret from seed
.
Compatible with libsodium’s crypto_kx_seed_keypair
.