fromBytes

Wrap raw Decapsulation Key bytes into a KyberDecapsulationKey object.

Return

KyberDecapsulationKey

Parameters

Throws

when the length of the Decapsulation Key is not of any ML-KEM variant.

if the hash check or modulus fails.