Click or drag to resize

Kem Class

Key-Encapsulation Mechanism (KEM) methods.
Inheritance Hierarchy
SystemObject
  CryptoSysPQCKem

Namespace: CryptoSysPQC
Assembly: diCrSysPQCNet (in diCrSysPQCNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Kem

The Kem type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCode exampleAlgName Get the algorithm name from its Alg code
Public methodStatic memberCode exampleCipherTextSize Return length in bytes of ciphertext for the given KEM algorithm.
Public methodStatic memberCode exampleDecapKeySize Return length in bytes of expanded decapsulation key ("private key") for the given KEM algorithm.
Public methodStatic memberDecaps Carry out the ML-KEM decapsulation algorithm: (ss')<--Decaps(ct,dk)
Public methodStatic memberCode exampleEncapKeySize Return length in bytes of encapsulation key ("public key") for the given KEM algorithm.
Public methodStatic memberEncaps Carry out the ML-KEM encapsulation algorithm: (ct,ss)<--Encaps(ek)
Public methodStatic memberCode exampleKeyGen Generate an encapsulation/decapsulation key pair (ek, dk): (ek,dk)<--KeyGen()
Public methodStatic memberCode exampleSharedKeySize Return length in bytes of the shared key for the given KEM algorithm.
Top
See Also