A B C D E F G I L M R S T U W

A

available() - Method in class BlowfishJ.BlowfishInputStream
 

B

BinConverter - class BlowfishJ.BinConverter.
some helper routines for data conversion, all data is treated in network byte order
BinConverter() - Constructor for class BlowfishJ.BinConverter
 
binHexToBytes(String, byte[], int, int, int) - Static method in class BlowfishJ.BinConverter
Converts a binhex string back into a byte array (invalid codes will be skipped).
BLOCKSIZE - Static variable in class BlowfishJ.BlowfishECB
block size of this cipher (in bytes)
BlowfishCBC - class BlowfishJ.BlowfishCBC.
implementation of the Blowfish encryption algorithm in CBC mode
BlowfishCBC(byte[]) - Constructor for class BlowfishJ.BlowfishCBC
Deprecated.  
BlowfishCBC(byte[], byte[]) - Constructor for class BlowfishJ.BlowfishCBC
Deprecated.  
BlowfishCBC(byte[], int, int) - Constructor for class BlowfishJ.BlowfishCBC
Constructor, uses a zero CBC IV.
BlowfishCBC(byte[], int, int, byte[], int) - Constructor for class BlowfishJ.BlowfishCBC
Constructor to define the CBC IV.
BlowfishCBC(byte[], int, int, long) - Constructor for class BlowfishJ.BlowfishCBC
Constructor to define the CBC IV.
BlowfishCBC(byte[], long) - Constructor for class BlowfishJ.BlowfishCBC
Deprecated.  
BlowfishEasy - class BlowfishJ.BlowfishEasy.
Support class for easy string encryption with the Blowfish algorithm, now in CBC mode with a SHA-1 key setup and correct padding - the purposes of this module is mainly to show a possible implementation with Blowfish.
BlowfishEasy(String) - Constructor for class BlowfishJ.BlowfishEasy
Constructor to set up a string as the key.
BlowfishECB - class BlowfishJ.BlowfishECB.
implementation of the Blowfish encryption algorithm in ECB mode
BlowfishECB(byte[]) - Constructor for class BlowfishJ.BlowfishECB
Deprecated.  
BlowfishECB(byte[], int, int) - Constructor for class BlowfishJ.BlowfishECB
Extended constructor, allows partial key material passing.
BlowfishInputStream - class BlowfishJ.BlowfishInputStream.
An InputStream that reads from a Blowfish encrypted file.
BlowfishInputStream(String, InputStream) - Constructor for class BlowfishJ.BlowfishInputStream
 
BlowfishOutputStream - class BlowfishJ.BlowfishOutputStream.
An OutputStream that encrypts data using the Blowfish algorithm 30 Mar 2002, fixed bug in flush method
BlowfishOutputStream(String, OutputStream) - Constructor for class BlowfishJ.BlowfishOutputStream
 
byteArrayToInt(byte[], int) - Static method in class BlowfishJ.BinConverter
Gets bytes from an array into an integer.
byteArrayToLong(byte[], int) - Static method in class BlowfishJ.BinConverter
Gets bytes from an array into a long.
byteArrayToUNCString(byte[], int, int) - Static method in class BlowfishJ.BinConverter
Converts a byte array into an Unicode string.
bytesToBinHex(byte[]) - Static method in class BlowfishJ.BinConverter
Converts a byte array to a binhex string.
bytesToBinHex(byte[], int, int) - Static method in class BlowfishJ.BinConverter
Converts a byte array to a binhex string.

C

cleanUp() - Method in class BlowfishJ.BlowfishCBC
see BlowfishJ.BlowfishECB#cleanUp()
cleanUp() - Method in class BlowfishJ.BlowfishECB
To clear data in the boxes before an instance is freed, the actual value of this call can be argued, yet still nice to have it.
clear() - Method in class BlowfishJ.SHA1
clears all data, use reset() to start again
close() - Method in class BlowfishJ.BlowfishOutputStream
This method calls flush(), so there is no need to call both.
close() - Method in class BlowfishJ.BlowfishInputStream
 

D

decrypt(byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
decrypt(byte[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
decrypt(byte[], byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
decrypt(byte[], byte[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
decrypt(byte[], int, byte[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
decrypt(byte[], int, byte[], int, int) - Method in class BlowfishJ.BlowfishECB
Decrypts a byte buffer to another buffer, extra misaligned data will not be processed.
decrypt(int[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
decrypt(int[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
decrypt(int[], int[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
decrypt(int[], int[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
decrypt(int[], int, int[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
decrypt(int[], int, int[], int, int) - Method in class BlowfishJ.BlowfishECB
Decrypts an integer buffer to another integer buffer.
decrypt(long[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
decrypt(long[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
decrypt(long[], int, long[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
decrypt(long[], int, long[], int, int) - Method in class BlowfishJ.BlowfishECB
Decrypts an long buffer to another long buffer.
decrypt(long[], long[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
decrypt(long[], long[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
decryptString(String) - Method in class BlowfishJ.BlowfishEasy
Decrypts a hexbin string (handling is case sensitive).
destroy() - Method in class BlowfishJ.BlowfishEasy
Destroys (clears) the encryption engine, after that the instance is not valid anymore
DIGEST_SIZE - Static variable in class BlowfishJ.SHA1
size of a SHA-1 digest in octets

E

encrypt(byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
encrypt(byte[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
encrypt(byte[], byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
encrypt(byte[], byte[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
encrypt(byte[], int, byte[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
encrypt(byte[], int, byte[], int, int) - Method in class BlowfishJ.BlowfishECB
Encrypts a byte buffer to another buffer, extra misaligned data will not be processed.
encrypt(int[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
encrypt(int[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
encrypt(int[], int[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
encrypt(int[], int[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
encrypt(int[], int, int[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
encrypt(int[], int, int[], int, int) - Method in class BlowfishJ.BlowfishECB
Encrypts an integer buffer to another integer buffer.
encrypt(long[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
encrypt(long[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
encrypt(long[], int, long[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
encrypt(long[], int, long[], int, int) - Method in class BlowfishJ.BlowfishECB
Encrypts an long buffer to another long buffer.
encrypt(long[], long[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
encrypt(long[], long[]) - Method in class BlowfishJ.BlowfishECB
Deprecated.  
encryptPrv(byte[], int, byte[], int, int) - Method in class BlowfishJ.BlowfishECB
 
encryptString(String) - Method in class BlowfishJ.BlowfishEasy
Encrypts a string (treated in Unicode) using the internal random generator.
encryptString(String, Random) - Method in class BlowfishJ.BlowfishEasy
Encrypts a string (treated in Unicode).

F

finalize() - Method in class BlowfishJ.SHA1
finalizes the digest
flush() - Method in class BlowfishJ.BlowfishOutputStream
Flushes this output stream and causes any buffered bytes to be written.

G

getCBCIV() - Method in class BlowfishJ.BlowfishCBC
Gets the current CBC IV.
getCBCIV(byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
getCBCIV(byte[], int) - Method in class BlowfishJ.BlowfishCBC
Gets a copy of the current CBC IV.
getDigest() - Method in class BlowfishJ.SHA1
gets the digest

I

intArrayToLong(int[], int) - Static method in class BlowfishJ.BinConverter
Converts values from an integer array to a long.
intToByteArray(int, byte[], int) - Static method in class BlowfishJ.BinConverter
Converts an integer to bytes, which are put into an array.

L

longHi32(long) - Static method in class BlowfishJ.BinConverter
Gets the higher 32 bits of a long.
longLo32(long) - Static method in class BlowfishJ.BinConverter
Gets the lower 32 bits of a long.
longToByteArray(long, byte[], int) - Static method in class BlowfishJ.BinConverter
Converts a long to bytes, which are put into an array.
longToIntArray(long, int[], int) - Static method in class BlowfishJ.BinConverter
Converts a long to integers which are put into an array.

M

makeLong(int, int) - Static method in class BlowfishJ.BinConverter
Makes a long from two integers (treated unsigned).
mark(int) - Method in class BlowfishJ.BlowfishInputStream
 
markSupported() - Method in class BlowfishJ.BlowfishInputStream
 
MAXKEYLENGTH - Static variable in class BlowfishJ.BlowfishECB
maximum possible key length in bytes

R

read() - Method in class BlowfishJ.BlowfishInputStream
Reads the next byte of data from this input stream.
reset() - Method in class BlowfishJ.SHA1
initializes or resets the hasher for a new session respectively

S

selfTest() - Method in class BlowfishJ.SHA1
runs a selftest
selfTest() - Static method in class BlowfishJ.BlowfishECB
Selftest routine, for instance to check for a valid class file loading.
setCBCIV(byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated.  
setCBCIV(byte[], int) - Method in class BlowfishJ.BlowfishCBC
Sets the current CBC IV (for cipher resets).
setCBCIV(long) - Method in class BlowfishJ.BlowfishCBC
Sets the current CBC IV (for cipher resets).
SHA1 - class BlowfishJ.SHA1.
SHA-1 message digest implementation
SHA1() - Constructor for class BlowfishJ.SHA1
constructor

T

toString() - Method in class BlowfishJ.SHA1
makes a binhex string representation of the current digest

U

update(byte) - Method in class BlowfishJ.SHA1
adds a single byte to the digest
update(byte[]) - Method in class BlowfishJ.SHA1
adds a byte array to the digest
update(String) - Method in class BlowfishJ.SHA1
adds an ASCII string to the digest

W

weakKeyCheck() - Method in class BlowfishJ.BlowfishECB
To check if an instance actually was using a weak key, if so it might be better to use a different key or salt the existing one as alternative.
write(int) - Method in class BlowfishJ.BlowfishOutputStream
Writes the specified byte to this output stream.

A B C D E F G I L M R S T U W