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.
§Errors
Returns an error if the underlying generic hash rejects the output. The fixed output length used here is valid.