gnu.crypto.cipher
Class Blowfish
- Cloneable, IBlockCipher, IBlockCipherSpi
Blowfish is a 16-round, 64-bit Feistel cipher designed by Bruce
Schneier. It accepts a variable-length key of up to 448 bits.
References:
- Schneier, Bruce: Applied Cryptography, Second Edition,
336--339, 647--654 (1996 Bruce Schneier).
- The
Blowfish Encryption Algorithm.
(package private) static int[] | KS0 - Initial value of S-box 1.
|
Iterator | blockSizes()
|
Object | clone()
|
void | decrypt(byte[] in, int i, byte[] out, int o, Object k, int bs)
|
void | encrypt(byte[] in, int i, byte[] out, int o, Object k, int bs)
|
Iterator | keySizes()
|
Object | makeKey(byte[] k, int bs)
|
boolean | selfTest()
|
clone , currentBlockSize , decryptBlock , defaultBlockSize , defaultKeySize , encryptBlock , init , name , reset , selfTest , testKat , testKat |
KS0
(package private) static final int[] KS0
Initial value of S-box 1.
Blowfish
public Blowfish()
decrypt
public void decrypt(byte[] in,
int i,
byte[] out,
int o,
Object k,
int bs)
- decrypt in interface IBlockCipherSpi
encrypt
public void encrypt(byte[] in,
int i,
byte[] out,
int o,
Object k,
int bs)
- encrypt in interface IBlockCipherSpi
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.