com.maverick.ssh.components.standalone
Class Ssh1Des
java.lang.Object
com.maverick.ssh.components.SshCipher
com.maverick.ssh.components.standalone.Ssh1Des
public class Ssh1Des
- extends SshCipher
DES cipher for SSH1.
- Author:
- Lee David Painter
|
Method Summary |
void |
decrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
|
void |
encrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ssh1Des
public Ssh1Des()
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
encrypt
public void encrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
throws IOException
- Throws:
IOException
decrypt
public void decrypt(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int len)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.