Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
ch.ethz.ssh2.crypto.cipher.DES
ch.ethz.ssh2.crypto.cipher.DESede
public class DESede
extends DES
Constructor Summary | |
|
Method Summary | |
String | |
int | |
void |
|
void |
|
void |
|
Methods inherited from class ch.ethz.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