twenty_first::math::lattice::kem

Function keygen

Source
pub fn keygen(randomness: [u8; 32]) -> (SecretKey, PublicKey)
Expand description

Generate a public-secret key pair for key encapsulation.