Table of Contents

Method GenerateKey

Namespace
Rotherprivat.KemBasedNet.Cryptography
Assembly
KemBasedNet.dll

GenerateKey(MLKemAlgorithm)

Generate keys for ML-KEM algorithm and create the encryptor / decryptor

public static HybridMLKem GenerateKey(MLKemAlgorithm mLKemAlgorithm)

Parameters

mLKemAlgorithm MLKemAlgorithm

ML-KEM algorithm

Returns

HybridMLKem

encryptor / decryptor instance

GenerateKey(CompositeMLKemAlgorithm)

Generate keys for CompositeMLKKEM algorithm and create the encryptor / decryptor

public static HybridMLKem GenerateKey(CompositeMLKemAlgorithm compositeMLKemAlgorithm)

Parameters

compositeMLKemAlgorithm CompositeMLKemAlgorithm

CompositeMLKKEM algorithm

Returns

HybridMLKem

encryptor / decryptor instance