public class DESede extends DES
| Constructor and Description |
|---|
DESede()
standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
desFunc, generateWorkingKeypublic 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 DESpublic void transformBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
transformBlock in interface BlockCiphertransformBlock in class DES