public class Ssh1Des3 extends SshCipher
DECRYPT_MODE, ENCRYPT_MODE| Constructor and Description |
|---|
Ssh1Des3() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockSize()
Get the cipher block size.
|
String |
getName() |
void |
init(int mode,
byte[] iv,
byte[] keydata)
Initialize the cipher with up to 40 bytes of iv and key data.
|
void |
transform(byte[] src,
int start,
byte[] dest,
int offset,
int len)
Transform the byte array according to the cipher mode; it is legal for the
source and destination arrays to reference the same physical array so
care should be taken in the transformation process to safeguard this rule.
|
public Ssh1Des3()
throws IOException
IOExceptionpublic int getBlockSize()
SshCiphergetBlockSize in class SshCipherpublic String getName()
getName in interface SshComponentgetName in class SshCipherpublic void init(int mode,
byte[] iv,
byte[] keydata)
throws IOException
SshCipherinit in class SshCiphermode - the mode to operateiv - the initiaization vectorkeydata - the key dataIOExceptionpublic void transform(byte[] src,
int start,
byte[] dest,
int offset,
int len)
throws IOException
SshCiphertransform in class SshCipherIOExceptionCopyright © 2012. All Rights Reserved.