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

TlsEncryptor

public interface TlsEncryptor
Base interface for an encryptor.
namespace Org.BouncyCastle.Tls.Crypto { public interface TlsEncryptor { byte[] Encrypt(byte[] input, int inOff, int length); } }