Class TripleDesCbc
- java.lang.Object
-
- com.sshtools.j2ssh.transport.cipher.SshCipher
-
- com.sshtools.j2ssh.transport.cipher.TripleDesCbc
-
public class TripleDesCbc extends SshCipher
- Version:
- $Revision: 1.19 $
- Author:
- $author$
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringalgorithmName-
Fields inherited from class com.sshtools.j2ssh.transport.cipher.SshCipher
DECRYPT_MODE, ENCRYPT_MODE
-
-
Constructor Summary
Constructors Constructor Description TripleDesCbc()Creates a new TripleDesCbc object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBlockSize()voidinit(int mode, byte[] iv, byte[] keydata)byte[]transform(byte[] data, int offset, int len)
-
-
-
Method Detail
-
getBlockSize
public int getBlockSize()
- Specified by:
getBlockSizein classSshCipher- Returns:
-
init
public void init(int mode, byte[] iv, byte[] keydata) throws AlgorithmOperationException- Specified by:
initin classSshCipher- Parameters:
mode-iv-keydata-- Throws:
AlgorithmOperationException
-
transform
public byte[] transform(byte[] data, int offset, int len) throws AlgorithmOperationException- Specified by:
transformin classSshCipher- Parameters:
data-offset-len-- Returns:
- Throws:
AlgorithmOperationException
-
-