de.mud.ssh
public final class Blowfish extends Cipher
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
P |
protected int[] |
S0 |
protected int[] |
S1 |
protected int[] |
S2 |
protected int[] |
S3 |
| Constructor and Description |
|---|
Blowfish() |
| Modifier and Type | Method and Description |
|---|---|
void |
decrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
The actual decryption takes place here.
|
int[] |
decrypt(int xL,
int xR,
int[] out) |
void |
encrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
The actual encryption takes place here.
|
void |
encrypt(int xL,
int xR,
int[] out) |
void |
setKey(byte[] key) |
void |
setKey(java.lang.String skey) |
decrypt, encrypt, getInstanceprotected int[] S0
protected int[] S1
protected int[] S2
protected int[] S3
protected int[] P
public void encrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
Cipherpublic void encrypt(int xL,
int xR,
int[] out)
public void decrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
Cipherpublic int[] decrypt(int xL,
int xR,
int[] out)