Kem Class |
The Kem type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() ![]() | AlgName | Get the algorithm name from its Alg code |
![]() ![]() ![]() | CipherTextSize | Return length in bytes of ciphertext for the given KEM algorithm. |
![]() ![]() ![]() | DecapKeySize | Return length in bytes of expanded decapsulation key ("private key") for the given KEM algorithm. |
![]() ![]() | Decaps | Carry out the ML-KEM decapsulation algorithm: (ss')<--Decaps(ct,dk) |
![]() ![]() ![]() | EncapKeySize | Return length in bytes of encapsulation key ("public key") for the given KEM algorithm. |
![]() ![]() | Encaps | Carry out the ML-KEM encapsulation algorithm: (ct,ss)<--Encaps(ek) |
![]() ![]() ![]() | KeyGen | Generate an encapsulation/decapsulation key pair (ek, dk): (ek,dk)<--KeyGen() |
![]() ![]() ![]() | SharedKeySize | Return length in bytes of the shared key for the given KEM algorithm. |