Function pqcrypto_ntru::ntruhrss701::encapsulate[][src]

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

Encapsulate to a ntruhrss701 public key