Function pqcrypto::kem::ntruhps4096821::encapsulate[][src]

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

Encapsulate to a ntruhps4096821 public key