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