BlockCipher
Base class for block cipher implementations.
Gets the size of the block.
Initializes a new instance of the BlockCipher class.
public abstract int DecryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
Decrypts the specified region of the input byte array and copies the decrypted data to the specified region of the output byte array.
public abstract int EncryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
Encrypts the specified region of the input byte array and copies the encrypted data to the specified region of the output byte array.