public class DESede extends DES
| Modifier and Type | Class and Description |
|---|---|
static class |
DESede.CBC |
static class |
DESede.CTR |
| Constructor and Description |
|---|
DESede()
standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithmName() |
void |
init(boolean encrypting,
byte[] key,
byte[] iv)
initialise a DES cipher.
|
void |
transformBlock(byte[] in,
int inOff,
byte[] out,
int outOff) |
desFunc, generateWorkingKey, getBlockSizepublic void init(boolean encrypting,
byte[] key,
byte[] iv)
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 void transformBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
transformBlock in interface BlockCiphertransformBlock in class DES