Function pqcrypto::kem::kyber1024::encapsulate [−][src]
pub fn encapsulate(pk: &PublicKey) -> (SharedSecret, Ciphertext)
Expand description
Encapsulate to a kyber1024 public key
pub fn encapsulate(pk: &PublicKey) -> (SharedSecret, Ciphertext)
Encapsulate to a kyber1024 public key