ch.ethz.ssh2.crypto.cipher

Interface BlockCipher

Known Implementing Classes:
AES, BlowFish, CBCMode, CTRMode, DES, DESede, 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 Details

getBlockSize

public int getBlockSize()

init

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

transformBlock

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