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
algorithmCompositeMLKemAlgorithmAlgorithm description
privateKeybyte[]private key
Returns
- CompositeMLKem
keys and algorithm implementation