[][src]Function pqcrypto_ntru::ntruhps2048509::encapsulate

pub fn encapsulate(pk: &PublicKey) -> (SharedSecret, Ciphertext)

Encapsulate to a ntruhps2048509 public key