com.maverick.ssh.components.standalone
Class Ssh1Des3

java.lang.Object
  extended by com.maverick.ssh.components.SshCipher
      extended by com.maverick.ssh.components.standalone.Ssh1Des3

public class Ssh1Des3
extends SshCipher

3DES cipher implementation for SSH1.

Author:
Lee David Painter

Field Summary
 
Fields inherited from class com.maverick.ssh.components.SshCipher
DECRYPT_MODE, ENCRYPT_MODE
 
Constructor Summary
Ssh1Des3()
           
 
Method Summary
 String getAlgorithm()
           
 int getBlockSize()
           
 void init(int mode, byte[] iv, byte[] keydata)
           
 void transform(byte[] src, int start, byte[] dest, int offset, int len)
           
 
Methods inherited from class com.maverick.ssh.components.SshCipher
transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ssh1Des3

public Ssh1Des3()
Method Detail

getBlockSize

public int getBlockSize()
Specified by:
getBlockSize in class SshCipher

getAlgorithm

public String getAlgorithm()
Overrides:
getAlgorithm in class SshCipher

init

public void init(int mode,
                 byte[] iv,
                 byte[] keydata)
Specified by:
init in class SshCipher

transform

public void transform(byte[] src,
                      int start,
                      byte[] dest,
                      int offset,
                      int len)
               throws IOException
Specified by:
transform in class SshCipher
Throws:
IOException


Copyright © 2012. All Rights Reserved.