de.mud.ssh
Class Blowfish
java.lang.Object
  |
  +--de.mud.ssh.Cipher
        |
        +--de.mud.ssh.Blowfish
- public final class Blowfish- extends Cipher
- Version:
- $Id: Blowfish.java,v 1.2 2002/10/26 07:15:59 leo Exp $
- Author:
- Marcus Meissner
| Field Summary | 
| protected  int[] | P
 | 
| protected  int[] | S0
 | 
| protected  int[] | S1
 | 
| protected  int[] | S2
 | 
| protected  int[] | S3
 | 
 
 
| Method Summary | 
|  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)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
S0
protected int[] S0
S1
protected int[] S1
S2
protected int[] S2
S3
protected int[] S3
P
protected int[] P
Blowfish
public Blowfish()
setKey
public void setKey(java.lang.String skey)
- 
- Overrides:
- setKeyin class- Cipher
 
- 
 
setKey
public void setKey(byte[] key)
- 
- Specified by:
- setKeyin class- Cipher
 
- 
 
encrypt
public void encrypt(byte[] src,
                    int srcOff,
                    byte[] dest,
                    int destOff,
                    int len)
- Description copied from class: Cipher
- The actual encryption takes place here.
 
- 
- Specified by:
- encryptin class- Cipher
 
- 
 
encrypt
public void encrypt(int xL,
                    int xR,
                    int[] out)
- 
 
decrypt
public void decrypt(byte[] src,
                    int srcOff,
                    byte[] dest,
                    int destOff,
                    int len)
- Description copied from class: Cipher
- The actual decryption takes place here.
 
- 
- Specified by:
- decryptin class- Cipher
 
- 
 
decrypt
public int[] decrypt(int xL,
                     int xR,
                     int[] out)
-