| java.lang.Object ch.ethz.ssh2.crypto.cipher.BlowFish
BlowFish | public class BlowFish implements BlockCipher(Code) | | A class that provides Blowfish key encryption operations, such as encoding
data and generating keys. All the algorithms herein are from Applied
Cryptography and implement a simplified cryptography interface.
author: See comments in the source file version: $Id: BlowFish.java,v 1.3 2005/12/05 17:13:27 cplattne Exp $ |
BlowFish | public BlowFish()(Code) | | |
getBlockSize | public int getBlockSize()(Code) | | |
init | public void init(boolean encrypting, byte[] key)(Code) | | initialise a Blowfish cipher.
Parameters: encrypting - whether or not we are for encryption. Parameters: key - the key required to set up the cipher. exception: IllegalArgumentException - if the params argument is inappropriate. |
reset | public void reset()(Code) | | |
transformBlock | final public void transformBlock(byte[] in, int inOff, byte[] out, int outOff)(Code) | | |
|
|