StaticfromCreate an MLKEMCiphertext from raw bytes.
The ML-KEM security level
The ciphertext bytes
Returns the security level of this ciphertext.
Returns the raw ciphertext bytes.
Returns a copy of the raw ciphertext bytes.
Returns the size of the ciphertext in bytes.
Get string representation.
Returns the CBOR tags associated with MLKEMCiphertext.
Returns the untagged CBOR encoding.
Format: [level, ciphertext_bytes]
Returns the tagged CBOR encoding.
Returns the tagged value in CBOR binary representation.
Creates an MLKEMCiphertext by decoding it from untagged CBOR.
Creates an MLKEMCiphertext by decoding it from tagged CBOR.
StaticfromStaticfromStatic method to decode from tagged CBOR binary data.
StaticfromStatic method to decode from untagged CBOR binary data.
Returns the UR representation.
Returns the UR string representation.
StaticfromStaticfrom
MLKEMCiphertext - Post-quantum key encapsulation ciphertext using ML-KEM.