Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/crypto/cipher/BlockCipher.java @ 307:071eccdff8ea ganymed
fix java formatting
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 30 Jul 2014 14:16:58 -0700 |
parents | 91a31873c42a |
children |
comparison
equal
deleted
inserted
replaced
305:d2b303406d63 | 307:071eccdff8ea |
---|---|
4 */ | 4 */ |
5 package ch.ethz.ssh2.crypto.cipher; | 5 package ch.ethz.ssh2.crypto.cipher; |
6 | 6 |
7 /** | 7 /** |
8 * BlockCipher. | 8 * BlockCipher. |
9 * | 9 * |
10 * @author Christian Plattner | 10 * @author Christian Plattner |
11 * @version 2.50, 03/15/10 | 11 * @version 2.50, 03/15/10 |
12 */ | 12 */ |
13 public interface BlockCipher | 13 public interface BlockCipher { |
14 { | 14 public void init(boolean forEncryption, byte[] key); |
15 public void init(boolean forEncryption, byte[] key); | |
16 | 15 |
17 public int getBlockSize(); | 16 public int getBlockSize(); |
18 | 17 |
19 public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff); | 18 public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff); |
20 } | 19 } |