|
abcdef | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.trilead.ssh2.crypto.cipher.DES
com.trilead.ssh2.crypto.cipher.DESede
public class DESede
DESede.
| Constructor Summary | |
|---|---|
DESede()
standard constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlgorithmName()
|
int |
getBlockSize()
|
void |
init(boolean encrypting,
byte[] key)
initialise a DES cipher. |
void |
reset()
|
void |
transformBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
|
| Methods inherited from class com.trilead.ssh2.crypto.cipher.DES |
|---|
desFunc, generateWorkingKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DESede()
| Method Detail |
|---|
public void init(boolean encrypting,
byte[] key)
init in interface BlockCipherinit in class DESencrypting - whether or not we are for encryption.key - the parameters required to set up the cipher.
java.lang.IllegalArgumentException - if the params argument is inappropriate.public java.lang.String getAlgorithmName()
getAlgorithmName in class DESpublic int getBlockSize()
getBlockSize in interface BlockCiphergetBlockSize in class DES
public void transformBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
transformBlock in interface BlockCiphertransformBlock in class DESpublic void reset()
reset in class DES
|
abcdef | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||