Carry out the ML-KEM decapsulation algorithm:
(ss')<--Decaps(ct,dk)
Namespace: CryptoSysPQCAssembly: diCrSysPQCNet (in diCrSysPQCNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static byte[] Decaps(
KemAlg alg,
byte[] ct,
byte[] dk
)
Public Shared Function Decaps (
alg As KemAlg,
ct As Byte(),
dk As Byte()
) As Byte()
Parameters
- alg KemAlg
- KEM algorithm.
- ct Byte
- Ciphertext
- dk Byte
- Decapsulation key (either in expanded or "seed" form).
Return Value
ByteShared secret key ss. On failure, ss will contain a pseudo-random value.
See Also