de.mud.ssh
public final class DES extends Cipher
Modifier and Type | Field and Description |
---|---|
protected int |
IV0 |
protected int |
IV1 |
protected int[] |
key_schedule |
Constructor and Description |
---|
DES() |
Modifier and Type | Method and Description |
---|---|
void |
decrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
The actual decryption takes place here.
|
void |
decrypt(int l,
int r,
int[] out) |
void |
encrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
The actual encryption takes place here.
|
void |
encrypt(int l,
int r,
int[] out) |
void |
setKey(byte[] key) |
decrypt, encrypt, getInstance, setKey
public void encrypt(byte[] src, int srcOff, byte[] dest, int destOff, int len)
Cipher
public void decrypt(byte[] src, int srcOff, byte[] dest, int destOff, int len)
Cipher
public void encrypt(int l, int r, int[] out)
public void decrypt(int l, int r, int[] out)