<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.1" />

IKemDecapsulator

public interface IKemDecapsulator
namespace Org.BouncyCastle.Crypto { public interface IKemDecapsulator { int EncapsulationLength { get; } int SecretLength { get; } void Init(ICipherParameters parameters); void Decapsulate(byte[] encBuf, int encOff, int encLen, byte[] secBuf, int secOff, int secLen); } }