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