| Modifier and Type | Field and Description |
|---|---|
| private long |
| Access | Constructor and Description |
|---|---|
| public | BaseCTRCipher(int ivsize, int authSize, int kdfSize, String algorithm, int keySize, String transformation, int blkSize)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected AlgorithmParameterSpec | determineNewParameters(byte[] processed, int offset, int length)
Overrides org.
|
| protected void | reInit(byte[] processed, int offset, int length)
Overrides org.
|
| public void | update(byte[]
The input/output bytes input, int The offset of the data in the data buffer inputOffset, int The number of bytes to update, starting at the given offset; must be a multiple of the
cipher's block size inputLen)Overrides org. Implements org. Performs in-place encryption or decryption on the given data. |
| blocksProcessed | back to summary |
|---|---|
| private long blocksProcessed | |
| BaseCTRCipher | back to summary |
|---|---|
| public BaseCTRCipher(int ivsize, int authSize, int kdfSize, String algorithm, int keySize, String transformation, int blkSize) | |
| addCarry | back to summary |
|---|---|
| private void addCarry(byte[] iv, int length, int carry) | |
| determineNewParameters | back to summary |
|---|---|
| protected AlgorithmParameterSpec determineNewParameters(byte[] processed, int offset, int length) Overrides org.
| |
| reInit | back to summary |
|---|---|
| protected void reInit(byte[] processed, int offset, int length) throws InvalidKeyException, InvalidAlgorithmParameterException Overrides org.
| |
| update | back to summary |
|---|---|
| public void update(byte[] input, int inputOffset, int inputLen) throws Exception Overrides org. Implements org. Doc from org. Performs in-place encryption or decryption on the given data. | |