de.mud.ssh
public final class IDEA extends Cipher
Modifier and Type | Field and Description |
---|---|
protected int |
IV0 |
protected int |
IV1 |
protected int[] |
key_schedule |
Constructor and Description |
---|
IDEA() |
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) |
static int |
mulop(int a,
int b) |
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 final void encrypt(int l, int r, int[] out)
public final void decrypt(int l, int r, int[] out)
public static final int mulop(int a, int b)