de.mud.ssh

Class IDEA


public final class IDEA
extends Cipher

Version:
$Id: IDEA.java 499 2005-09-29 08:24:54Z leo $
Author:
Marcus Meissner

Field Summary

protected int
IV0
protected int
IV1
protected int[]
key_schedule

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 de.mud.ssh.Cipher

decrypt, decrypt, encrypt, encrypt, getInstance, setKey, setKey

Field Details

IV0

protected int IV0

IV1

protected int IV1

key_schedule

protected int[] key_schedule

Method Details

decrypt

public void decrypt(byte[] src,
                    int srcOff,
                    byte[] dest,
                    int destOff,
                    int len)
Overrides:
decrypt in interface Cipher

decrypt

public final void decrypt(int l,
                          int r,
                          int[] out)

encrypt

public void encrypt(byte[] src,
                    int srcOff,
                    byte[] dest,
                    int destOff,
                    int len)
Overrides:
encrypt in interface Cipher

encrypt

public final void encrypt(int l,
                          int r,
                          int[] out)

mulop

public static final int mulop(int a,
                              int b)

setKey

public void setKey(byte[] key)
Overrides:
setKey in interface Cipher