Function cryptoxide::ed25519::keypair

source ·
pub fn keypair(secret_key: &[u8; 32]) -> ([u8; 64], [u8; 32])
Expand description

keypair of secret key and public key

Given the secret key, it calculate the associated public key and it returns a convenient keypair array containing both the secret and public key