public class

DESede

extends DES
java.lang.Object
   ↳ com.trilead.ssh2.crypto.cipher.DES
     ↳ com.trilead.ssh2.crypto.cipher.DESede

Class Overview

DESede.

Summary

Fields
private boolean encrypt
private int[] key1
private int[] key2
private int[] key3
[Expand]
Inherited Fields
From class com.trilead.ssh2.crypto.cipher.DES
Public Constructors
DESede()
standard constructor.
Public Methods
String getAlgorithmName()
int getBlockSize()
void init(boolean encrypting, byte[] key)
initialise a DES cipher.
void reset()
void transformBlock(byte[] in, int inOff, byte[] out, int outOff)
[Expand]
Inherited Methods
From class com.trilead.ssh2.crypto.cipher.DES
From class java.lang.Object
From interface com.trilead.ssh2.crypto.cipher.BlockCipher

Fields

private boolean encrypt

private int[] key1

private int[] key2

private int[] key3

Public Constructors

public DESede ()

standard constructor.

Public Methods

public String getAlgorithmName ()

public int getBlockSize ()

public void init (boolean encrypting, byte[] key)

initialise a DES cipher.

Parameters
encrypting Whether or not we are for encryption.
key The parameters required to set up the cipher.
Throws
IllegalArgumentException if the params argument is inappropriate.

public void reset ()

public void transformBlock (byte[] in, int inOff, byte[] out, int outOff)

Parameters
in
inOff
out
outOff