|
||||||||||
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 BlockCipher
init
in class DES
encrypting
- 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 DES
public int getBlockSize()
getBlockSize
in interface BlockCipher
getBlockSize
in class DES
public void transformBlock(byte[] in, int inOff, byte[] out, int outOff)
transformBlock
in interface BlockCipher
transformBlock
in class DES
public void reset()
reset
in class DES
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |