| Modifier and Type | Field and Description |
|---|---|
| protected static final int | |
| private boolean | |
| private int[] | |
| private int[] | |
| private int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public String | getAlgorithmName()
Implements org. |
| public int | getBlockSize()
Implements org. |
| public void | init(boolean
whether or not we are for encryption. encrypting, CipherParameters the parameters required to set up 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 |
| BLOCK_SIZE | back to summary |
|---|---|
| protected static final int BLOCK_SIZE | |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| workingKey1 | back to summary |
|---|---|
| private int[] workingKey1 | |
| workingKey2 | back to summary |
|---|---|
| private int[] workingKey2 | |
| workingKey3 | back to summary |
|---|---|
| private int[] workingKey3 | |
| DESedeEngine | back to summary |
|---|---|
| public DESedeEngine() standard constructor. | |
| bitsOfSecurity | back to summary |
|---|---|
| private int bitsOfSecurity() | |
| 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 encrypting, CipherParameters params) Implements org. initialise a DESede cipher.
| |
| processBlock | back to summary |
|---|---|
| public int processBlock(byte[] in, int inOff, byte[] out, int outOff) 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. After resetting the cipher is in the same state as it was after the last init (if there was one). | |