Function encapsulate

Source
pub fn encapsulate(pk: &[u8; 1184]) -> Result<([u8; 1088], [u8; 32]), String>
Expand description

Encapsulates a shared secret using a public key.

Returns a tuple containing the ciphertext and the encapsulated shared secret.