de.mud.ssh
Class IDEA
java.lang.Object
|
+--de.mud.ssh.Cipher
|
+--de.mud.ssh.IDEA
- public final class IDEA
- extends Cipher
Constructor Summary |
IDEA()
|
Method Summary |
void |
decrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
|
void |
decrypt(int l,
int r,
int[] out)
|
void |
encrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
|
void |
encrypt(int l,
int r,
int[] out)
|
static int |
mulop(int a,
int b)
|
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
IDEA
public IDEA()
encrypt
public void encrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
- Overrides:
encrypt
in class Cipher
decrypt
public void decrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
- Overrides:
decrypt
in class Cipher
setKey
public void setKey(byte[] key)
- Overrides:
setKey
in class Cipher
encrypt
public final void encrypt(int l,
int r,
int[] out)
decrypt
public final void decrypt(int l,
int r,
int[] out)
mulop
public static final int mulop(int a,
int b)