Click or drag to resize

KemDecaps Method

Carry out the ML-KEM decapsulation algorithm: (ss')<--Decaps(ct,dk)

Namespace: CryptoSysPQC
Assembly: diCrSysPQCNet (in diCrSysPQCNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static byte[] Decaps(
	KemAlg alg,
	byte[] ct,
	byte[] dk
)

Parameters

alg  KemAlg
KEM algorithm.
ct  Byte
Ciphertext
dk  Byte
Decapsulation key (either in expanded or "seed" form).

Return Value

Byte
Shared secret key ss. On failure, ss will contain a pseudo-random value.
See Also