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

Org.BouncyCastle.Crypto.StreamBlockCipher

namespace Org.BouncyCastle.Crypto { public class StreamBlockCipher : IStreamCipher { public string AlgorithmName { get; } public StreamBlockCipher(IBlockCipherMode cipherMode); public void Init(bool forEncryption, ICipherParameters parameters); public byte ReturnByte(byte input); public void ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff); public void Reset(); } }