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

Org.BouncyCastle.Pqc.Crypto.NtruPrime.SNtruPrimeKemGenerator

namespace Org.BouncyCastle.Pqc.Crypto.NtruPrime { public class SNtruPrimeKemGenerator : 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 SNtruPrimeKemGenerator(SecureRandom sr); public ISecretWithEncapsulation GenerateEncapsulated(AsymmetricKeyParameter recipientKey); } }