final class WinZipAesCipher extends SICSeekableBlockCipher
SICSeekableBlockCipher except that
the block counter is incremented before updating the cipher input
in little endian order.blockCounter, blockSize, cipher, cipherIn, cipherOut, IV| Constructor and Description |
|---|
WinZipAesCipher()
Constructs a new block cipher mode for use with WinZip AES.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
incCounter() |
int |
processBlock(byte[] in,
int inOff,
byte[] out,
int outOff) |
getAlgorithmName, getBlockCounter, getBlockSize, getUnderlyingCipher, init, reset, setBlockCounterWinZipAesCipher()
AESFastEngine as the underlying block
cipher.private void incCounter()
public int processBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
throws DataLengthException,
IllegalStateException
processBlock in interface BlockCipherprocessBlock in class SICSeekableBlockCipherDataLengthExceptionIllegalStateExceptionCopyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.