Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCompositeMLKEMKey.Decapsulate

function Decapsulate(const aCipherText : AnsiString; aCipherTextFormat: tStringFormat = sfBinary) : iSecretKey;
Composite-ML-KEM.Decaps: recovers the shared secret from the composite ciphertext (32 bytes for the PKIX/CMS composite algorithms, whose combiner is SHA3-256). An application calls this on the recipient side of a CMS KEMRecipientInfo (the role is fixed by sender/recipient, not by client/server) to unwrap a content-encryption key that was encapsulated to this component's public key.