1 package ch.ethz.ssh2.crypto.cipher;2 3 /**4 * BlockCipher.5 * 6 * @author Christian Plattner, plattner@inf.ethz.ch7 * @version $Id: BlockCipher.java,v 1.1 2005/05/26 14:53:27 cplattne Exp $8 */9 public interface BlockCipher10 {11 public void init(boolean forEncryption, byte[] key);12 13 public int getBlockSize();14 15 public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff);16 }17