rng.nextBytes(key);
rng.nextBytes(iv);
AESFastEngine e = new AESFastEngine();
SICBlockCipher ctr = new SICBlockCipher(e);
ctr.init(true, new ParametersWithIV(new KeyParameter(key),iv));
cis = new CipherInputStream(zis, new BufferedBlockCipher(ctr));
cisCounter = 0;
}
read = cis.read(buffer, 0, ((remaining > BUFFER_SIZE) || (remaining == -1)) ? BUFFER_SIZE : (int) remaining);
cisCounter += read;
}