public interface SeekableBlockCipher extends BlockCipher
BlockCipher
in order to support random access to
the blocks in a plain or cipher text.Modifier and Type | Method and Description |
---|---|
long |
getBlockCounter()
Returns the index of the block, starting at 0, which will be processed
next when
BlockCipher.processBlock(byte[], int, byte[], int) is called. |
void |
setBlockCounter(long blockCounter)
Sets the counter so that the block with the given index, starting
at 0, can be processed next.
|
getAlgorithmName, getBlockSize, init, processBlock, reset
long getBlockCounter()
BlockCipher.processBlock(byte[], int, byte[], int)
is called.void setBlockCounter(long blockCounter)
blockCounter
- The index of the block, starting at 0, which will be
processed next when
BlockCipher.processBlock(byte[], int, byte[], int)
is called.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.