Function kyber_rust::decapsulate

source ยท
pub fn decapsulate(ct: &[u8; 1088], sk: &[u8; 2400]) -> Result<[u8; 32], String>
Expand description

Decapsulates a shared secret using a ciphertext and a secret key.

Returns the decapsulated shared secret.