IBlockCipherProcessBlock(Byte, Int32, Byte, Int32) Method

Process a block.

Definition

Namespace: Org.BouncyCastle.Crypto
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
int ProcessBlock(
	byte[] inBuf,
	int inOff,
	byte[] outBuf,
	int outOff
)

Parameters

inBuf  Byte
The input buffer.
inOff  Int32
The offset into that the input block begins.
outBuf  Byte
The output buffer.
outOff  Int32
The offset into to write the output block.

Return Value

Int32
The number of bytes processed and produced.

Exceptions

DataLengthExceptionIf input block is wrong size, or outBuf too small.

See Also