*/
public void testEngineUpdatebyteArrayintintbyteArrayint() throws Exception {
NullCipherSpi spi = new NullCipherSpi();
byte[] b = {1,2,3,4,5,6,7,8,9};
byte[] b1 = new byte[10];
assertEquals("incorrect update result", 4, spi.engineUpdate(b, 3, 4, b1, 5));
for (int i = 0; i < 4; i++) {
assertEquals("incorrect update result", b[3+i], b1[5+i]);
}
}