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