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

Org.BouncyCastle.Crypto.Modes.KCtrBlockCipher

namespace Org.BouncyCastle.Crypto.Modes { public class KCtrBlockCipher : IStreamCipher, IBlockCipherMode, IBlockCipher { public IBlockCipher UnderlyingCipher { get; } public string AlgorithmName { get; } public bool IsPartialBlockOkay { get; } public KCtrBlockCipher(IBlockCipher cipher); public void Init(bool forEncryption, ICipherParameters parameters); public int GetBlockSize(); public byte ReturnByte(byte input); public void ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff); protected byte CalculateByte(byte b); public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff); public void Reset(); } }