net.ssh.jsch
Interface Cipher

All Known Implementing Classes:
BlowfishCBC, TripleDESCBC

public interface Cipher


Field Summary
static int DECRYPT_MODE
           
static int ENCRYPT_MODE
           
 
Method Summary
 int getBlockSize()
           
 int getIVSize()
           
 void init(int mode, byte[] key, byte[] iv)
           
 void update(byte[] foo, int s1, int len, byte[] bar, int s2)
           
 

Field Detail

ENCRYPT_MODE

static final int ENCRYPT_MODE
See Also:
Constant Field Values

DECRYPT_MODE

static final int DECRYPT_MODE
See Also:
Constant Field Values
Method Detail

getIVSize

int getIVSize()

getBlockSize

int getBlockSize()

init

void init(int mode,
          byte[] key,
          byte[] iv)
          throws java.lang.Exception
Throws:
java.lang.Exception

update

void update(byte[] foo,
            int s1,
            int len,
            byte[] bar,
            int s2)
            throws java.lang.Exception
Throws:
java.lang.Exception