de.mud.ssh
Class DES
java.lang.Object
de.mud.ssh.Cipher
de.mud.ssh.DES
public final class DES
- extends Cipher
Constructor Summary |
DES()
|
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key_schedule
protected int[] key_schedule
IV0
protected int IV0
IV1
protected int IV1
DES
public DES()
encrypt
public void encrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
- Description copied from class:
Cipher
- The actual encryption takes place here.
- Specified by:
encrypt
in class Cipher
decrypt
public void decrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
- Description copied from class:
Cipher
- The actual decryption takes place here.
- Specified by:
decrypt
in class Cipher
setKey
public void setKey(byte[] key)
- Specified by:
setKey
in class Cipher
encrypt
public void encrypt(int l,
int r,
int[] out)
decrypt
public void decrypt(int l,
int r,
int[] out)