Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCompositeMLKEMKey.GenerateNewKeys

procedure GenerateNewKeys(aAlg: tCompositeMLKEMAlg; aSave: Boolean = True);
Generates a fresh composite ML-KEM keypair for aAlg (which combines an ML-KEM parameter set with a traditional algorithm -- RSA-OAEP or an ECDH/X curve -- per draft-ietf-lamps-pq-composite-kem) and, if aSave is True, persists it via SavePrivateKey/SavePublicKey.