fromBytes

Wrap raw Encryption Key bytes into a KyberEncryptionKey object.

Return

KyberEncryptionKey

Parameters

Throws

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

if the modulus check fails.