Table of Contents

Method Encapsulate

Namespace
Rotherprivat.KemBasedNet.Cryptography
Assembly
KemBasedNet.dll

Encapsulate(out byte[], out byte[])

Create combined ciphertext and shared secret

public void Encapsulate(out byte[] ciphertext, out byte[] sharedSecret)

Parameters

ciphertext byte[]

Combined ciphertext

sharedSecret byte[]

Combined shared secret

Encapsulate(Span<byte>, Span<byte>)

Create combined ciphertext and shared secret

public void Encapsulate(Span<byte> ciphertext, Span<byte> sharedSecret)

Parameters

ciphertext Span<byte>

Combined ciphertext

sharedSecret Span<byte>

Combined shared secret