| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.trilead.ssh2.crypto.cipher.DEScom.trilead.ssh2.crypto.cipher.DESedepublic class DESedeextends DESConstructor Summary | |
| |
Method Summary | |
String | |
int | |
void |
|
void |
|
void |
|
Methods inherited from class com.trilead.ssh2.crypto.cipher.DES | |
desFunc, generateWorkingKey, getAlgorithmName, getBlockSize, init, reset, transformBlock | |
public int getBlockSize()
- Specified by:
- getBlockSize in interface BlockCipher
- Overrides:
- getBlockSize in interface DES
public void init(boolean encrypting,
byte[] key)initialise a DES cipher.
- Specified by:
- init in interface BlockCipher
- Parameters:
encrypting- whether or not we are for encryption.key- the parameters required to set up the cipher.
public void transformBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
- Specified by:
- transformBlock in interface BlockCipher
- Overrides:
- transformBlock in interface DES