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

Org.BouncyCastle.Pqc.Crypto.NtruPrime.NtruLPRimeKemGenerator

namespace Org.BouncyCastle.Pqc.Crypto.NtruPrime { public class NtruLPRimeKemGenerator : IEncapsulatedSecretGenerator { public class SecretWithEncapsulationImpl : ISecretWithEncapsulation, IDisposable { public SecretWithEncapsulationImpl(byte[] sessionKey, byte[] cipherText); public byte[] GetSecret(); public byte[] GetEncapsulation(); public void Dispose(); protected virtual void Dispose(bool disposing); public bool IsDestroyed(); } public NtruLPRimeKemGenerator(SecureRandom sr); public ISecretWithEncapsulation GenerateEncapsulated(AsymmetricKeyParameter recipientKey); } }