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

ICipherBuilder

public interface ICipherBuilder
Base interface for cipher builders.
using System.IO; namespace Org.BouncyCastle.Crypto { public interface ICipherBuilder { object AlgorithmDetails { get; } int GetMaxOutputSize(int inputLen); ICipher BuildCipher(Stream stream); } }