IKemEncapsulator
using System;
namespace Org.BouncyCastle.Crypto
{
public interface IKemEncapsulator
{
int EncapsulationLength { get; }
int SecretLength { get; }
void Init(ICipherParameters parameters);
void Encapsulate(byte[] encBuf, int encOff, int encLen, byte[] secBuf, int secOff, int secLen);
void Encapsulate(Span<byte> encapsulation, Span<byte> secret);
}
}