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

Org.BouncyCastle.Crypto.Modes.SicBlockCipher

Implements the Segmented Integer Counter (SIC) mode on top of a simple block cipher.
public virtual string AlgorithmName { get; }

The algorithm name and mode.

public virtual bool IsPartialBlockOkay { get; }

Indicates whether partial blocks are okay for this mode.

The underlying block cipher that we are wrapping.

Basic constructor.

public virtual int GetBlockSize()

Return the block size of the underlying cipher.

public virtual void Init(bool forEncryption, ICipherParameters parameters)

Initialise the cipher and, possibly, the initialisation vector (IV).

public virtual int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff)

Process a block of data.

public virtual void Reset()

Reset the chaining vector back to the IV and reset the underlying cipher.