| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private final CFBBlockCipher | |
| private long | |
| private boolean | |
| private KeyParameter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected byte | |
| public String | getAlgorithmName()
Implements org. |
| public int | getBlockSize()
Implements org. |
| public void | init(boolean
if true the cipher is initialised for
encryption, if false for decryption. forEncryption, CipherParameters the key and other data required by the cipher. params)Implements org. |
| public int | processBlock(byte[]
the array containing the input data. in, int offset into the in array the data starts at. inOff, byte[] the array the output data will be copied into. out, int the offset into the out array the output will start at. outOff)Implements org. |
| public void | reset()
Implements org. |
| C | back to summary |
|---|---|
| private static final byte[] C | |
| cfbEngine | back to summary |
|---|---|
| private final CFBBlockCipher cfbEngine | |
| counter | back to summary |
|---|---|
| private long counter | |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| key | back to summary |
|---|---|
| private KeyParameter key | |
| GCFBBlockCipher | back to summary |
|---|---|
| public GCFBBlockCipher(BlockCipher engine) | |
| calculateByte | back to summary |
|---|---|
| protected byte calculateByte(byte b) Implements abstract org. | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. Return the name of the algorithm the cipher implements.
| |
| getBlockSize | back to summary |
|---|---|
| public int getBlockSize() Implements org. Doc from org. Return the block size for this cipher (in bytes).
| |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters params) throws IllegalArgumentException Implements org. Doc from org. Initialise the cipher.
| |
| processBlock | back to summary |
|---|---|
| public int processBlock(byte[] in, int inOff, byte[] out, int outOff) throws DataLengthException, IllegalStateException Implements org. Doc from org. Process one block of input from the array in and write it to the out array.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the cipher. This leaves it in the same state it was at after the last init (if there was one). | |