Table of Contents

Method ImportPrivateKey

Namespace
Rotherprivat.KemBasedNet.Cryptography
Assembly
KemBasedNet.dll

ImportPrivateKey(CompositeMLKemAlgorithm, byte[])

Import private keys of ML-KEM and traditional key exchange algorithms

public static CompositeMLKem ImportPrivateKey(CompositeMLKemAlgorithm algorithm, byte[] privateKey)

Parameters

algorithm CompositeMLKemAlgorithm

Algorithm description

privateKey byte[]

private key

Returns

CompositeMLKem

keys and algorithm implementation