ch.ethz.ssh2.crypto.cipher
Interface BlockCipher

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

public interface BlockCipher

BlockCipher.


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)