comparison src/ch/ethz/ssh2/crypto/cipher/BlockCipher.java @ 273:91a31873c42a ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Fri, 18 Jul 2014 11:21:46 -0700
parents
children 071eccdff8ea
comparison
equal deleted inserted replaced
272:ce2f4e397703 273:91a31873c42a
1 /*
2 * Copyright (c) 2006-2011 Christian Plattner. All rights reserved.
3 * Please refer to the LICENSE.txt for licensing details.
4 */
5 package ch.ethz.ssh2.crypto.cipher;
6
7 /**
8 * BlockCipher.
9 *
10 * @author Christian Plattner
11 * @version 2.50, 03/15/10
12 */
13 public interface BlockCipher
14 {
15 public void init(boolean forEncryption, byte[] key);
16
17 public int getBlockSize();
18
19 public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff);
20 }