ch.ethz.ssh2.crypto.cipher
Interface BlockCipher

All Known Implementing Classes:
AES, BlowFish, CBCMode, CTRMode, DES, NullCipher

public interface BlockCipher

BlockCipher.

Version:
$Id: BlockCipher.java,v 1.1 2005/05/26 14:53:27 cplattne Exp $
Author:
Christian Plattner, plattner@inf.ethz.ch

Method Summary
 int getBlockSize()
           
 void init(boolean forEncryption, byte[] key)
           
 void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff)
           
 

Method Detail

init

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

getBlockSize

public int getBlockSize()

transformBlock

public void transformBlock(byte[] src,
                           int srcoff,
                           byte[] dst,
                           int dstoff)