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