annotate src/com/trilead/ssh2/crypto/cipher/BlockCipher.java @ 158:23badf85abd6
allow button shortcuts to see key up/down, so the monitor key can toggle properly
author |
Carl Byington <carl@five-ten-sg.com> |
date |
Mon, 23 Jun 2014 18:26:46 -0700 |
parents |
0ce5cc452d02 |
children |
|
rev |
line source |
0
|
1 package com.trilead.ssh2.crypto.cipher;
|
|
2
|
|
3 /**
|
|
4 * BlockCipher.
|
|
5 *
|
|
6 * @author Christian Plattner, plattner@trilead.com
|
|
7 * @version $Id: BlockCipher.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $
|
|
8 */
|
|
9 public interface BlockCipher {
|
|
10 public void init(boolean forEncryption, byte[] key);
|
|
11
|
|
12 public int getBlockSize();
|
|
13
|
|
14 public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff);
|
|
15 }
|