de.mud.ssh
Class NONE

java.lang.Object
  extended by de.mud.ssh.Cipher
      extended by de.mud.ssh.NONE

public final class NONE
extends Cipher

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

Constructor Summary
NONE()
           
 
Method Summary
 void decrypt(byte[] src, int srcOff, byte[] dest, int destOff, int len)
          The actual decryption takes place here.
 void encrypt(byte[] src, int srcOff, byte[] dest, int destOff, int len)
          The actual encryption takes place here.
 void setKey(byte[] key)
           
 void setKey(java.lang.String skey)
           
 
Methods inherited from class de.mud.ssh.Cipher
decrypt, encrypt, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NONE

public NONE()
Method Detail

setKey

public void setKey(java.lang.String skey)
Overrides:
setKey in class Cipher

setKey

public void setKey(byte[] key)
Specified by:
setKey in 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:
encrypt in class Cipher

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:
decrypt in class Cipher