de.mud.ssh
Class Blowfish
public final class Blowfish
$Id: Blowfish.java 499 2005-09-29 08:24:54Z leo $protected int[] | P
|
protected int[] | S0
|
protected int[] | S1
|
protected int[] | S2
|
protected int[] | S3
|
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(String skey)
|
void | setKey(byte[] key)
|
Blowfish
public Blowfish()
decrypt
public void decrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
The actual decryption takes place here.
- decrypt in interface Cipher
decrypt
public int[] decrypt(int xL,
int xR,
int[] out)
encrypt
public void encrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
The actual encryption takes place here.
- encrypt in interface Cipher
encrypt
public void encrypt(int xL,
int xR,
int[] out)
setKey
public void setKey(String skey)
- setKey in interface Cipher
setKey
public void setKey(byte[] key)
- setKey in interface Cipher