public void ProcessBytes( byte[] input, int inOff, int length, byte[] output, int outOff) { if (outOff + length > output.Length) throw new DataLengthException("output buffer too small in ProcessBytes()"); for (int i = 0; i != length; i++) { cipher.ProcessBlock(input, inOff + i, output, outOff + i); } }