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