Returns the security level of this ciphertext.
The bytes (a view; do not mutate).
Number of bytes.
StaticcodecTagged-CBOR codec; decode also accepts the untagged form.
StaticfromCreate an MLKEMCiphertext from raw bytes.
The ML-KEM security level
The ciphertext bytes
Get string representation.
The CBOR tags this type decodes from; the first one is used to encode.
Returns the untagged CBOR encoding.
Format: [level, ciphertext_bytes]
The tagged CBOR form.
As a UR, typed by the first tag's name.
Staticfrom
MLKEMCiphertext - Post-quantum key encapsulation ciphertext using ML-KEM.