decapsulate

Decapsulates a KyberCipherText and recovers the Shared Secret Key.

This method is the ML-KEM.Decaps() specified in NIST FIPS 203.

Equivalent method with KyberCipherText.decapsulate.

Return

ByteArray - The generated Shared Secret Key, which is the same one generated by the sender.

Parameters

cipherText

received KyberCipherText.