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

A

AllTests - Class in BlowfishJ.test
 
AllTests() - Constructor for class BlowfishJ.test.AllTests
 

B

BinConverter - Class in BlowfishJ
Some helper routines for data conversion, all data is treated in network byte order.
BinConverter() - Constructor for class BlowfishJ.BinConverter
 
BinConverterTest - Class in BlowfishJ.test
Test cases for the binary converters.
BinConverterTest() - Constructor for class BlowfishJ.test.BinConverterTest
 
BLOCKSIZE - Static variable in class BlowfishJ.BlowfishECB
block size of this cipher (in bytes)
BlowfishCBC - Class in BlowfishJ
Implementation of the Blowfish encryption algorithm in CBC mode.
BlowfishCBC(byte[]) - Constructor for class BlowfishJ.BlowfishCBC
Deprecated. use BlowfishCBC(byte[], int, int) instead
BlowfishCBC(byte[], int, int) - Constructor for class BlowfishJ.BlowfishCBC
Constructor, uses a zero CBC IV.
BlowfishCBC(byte[], long) - Constructor for class BlowfishJ.BlowfishCBC
Deprecated. use BlowfishCBC(byte[], int, int, long) instead
BlowfishCBC(byte[], int, int, long) - Constructor for class BlowfishJ.BlowfishCBC
Constructor to define the CBC IV.
BlowfishCBC(byte[], byte[]) - Constructor for class BlowfishJ.BlowfishCBC
Deprecated. use BlowfishCBC(byte[], int, int, byte[], int) instead
BlowfishCBC(byte[], int, int, byte[], int) - Constructor for class BlowfishJ.BlowfishCBC
Constructor to define the CBC IV.
BlowfishDemo - Class in BlowfishJ.test
Demonstrating the Blowfish encryption algorithm classes.
BlowfishDemo() - Constructor for class BlowfishJ.test.BlowfishDemo
 
BlowfishEasy - Class in BlowfishJ
Support class for easy string encryption with the Blowfish algorithm.
BlowfishEasy(String) - Constructor for class BlowfishJ.BlowfishEasy
Deprecated. use the BlowfishEasy(char[]) instead, since this constructor discards the higher 8 bits of every 16bit Unicode character; be aware that this constructor will produce non-compatible results to the new method!
BlowfishEasy(char[]) - Constructor for class BlowfishJ.BlowfishEasy
Constructor to use string data as the key.
BlowfishECB - Class in BlowfishJ
Implementation of the Blowfish encryption algorithm in ECB mode.
BlowfishECB() - Constructor for class BlowfishJ.BlowfishECB
The default constructor, call initialize() afterwards to do the final setup.
BlowfishECB(byte[]) - Constructor for class BlowfishJ.BlowfishECB
Deprecated. use BlowfishECB(byte[], int, int) instead
BlowfishECB(byte[], int, int) - Constructor for class BlowfishJ.BlowfishECB
 
BlowfishInputStream - Class in BlowfishJ
An input stream that reads from a file created an instance of the BlowfishJ.BlowfishOutputStream class.
BlowfishInputStream(byte[], int, int, InputStream) - Constructor for class BlowfishJ.BlowfishInputStream
Default constructor.
BlowfishInputStream(String, InputStream) - Constructor for class BlowfishJ.BlowfishInputStream
Deprecated. due to the restrictions in usage and the discarding of some original key material it is highly recommended not to use it anymore
BlowfishJ - package BlowfishJ
 
BlowfishJ.test - package BlowfishJ.test
 
BlowfishOutputStream - Class in BlowfishJ
An output stream that encrypts data using the Blowfish algorithm in CBC mode, padded with PCKS7.
BlowfishOutputStream(byte[], int, int, OutputStream) - Constructor for class BlowfishJ.BlowfishOutputStream
Default constructor.
BlowfishOutputStream(String, OutputStream) - Constructor for class BlowfishJ.BlowfishOutputStream
Deprecated. due to the restrictions in usage and the discarding of some original key material it is highly recommended not to use it anymore
BlowfishTests - Class in BlowfishJ.test
All test cases for the BlowfishJ core classes.
BlowfishTests() - Constructor for class BlowfishJ.test.BlowfishTests
 
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.
byteArrayToStr(byte[], int, int) - Static method in class BlowfishJ.BinConverter
Converts a byte array into a Unicode string.
bytesToHexStr(byte[]) - Static method in class BlowfishJ.BinConverter
Converts a byte array to a hex string.
bytesToHexStr(byte[], int, int) - Static method in class BlowfishJ.BinConverter
Converts a byte array to a hex 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.BlowfishInputStream
 
close() - Method in class BlowfishJ.BlowfishOutputStream
 

D

decrypt(byte[], int, byte[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
decrypt(byte[], byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use decrypt(byte[], int, byte[], int, int) instead
decrypt(byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use encrypt(byte[], int, byte[], int, int) instead
decrypt(int[], int, int[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
decrypt(int[], int[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use decrypt(int[], int, int[], int, int) instead
decrypt(int[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use decrypt(int[], int, int[], int, int) instead
decrypt(long[], int, long[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
decrypt(long[], long[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use decrypt(long[], int, long[], int, int) instead
decrypt(long[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use decrypt(long[], int, long[], int, int) instead
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(byte[], byte[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use decrypt(byte[], int, byte[], int, int) instead
decrypt(byte[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use decrypt(byte[], int, byte[], int, int) instead
decrypt(int[], int, int[], int, int) - Method in class BlowfishJ.BlowfishECB
Decrypts an integer buffer to another integer buffer.
decrypt(int[], int[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use decrypt(int[], int, int[], int, int) instead
decrypt(int[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use decrypt(int[], int, int[], int, int) instead
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.BlowfishECB
Deprecated. use decrypt(long[], int, long[], int, int) instead
decrypt(long[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use decrypt(long[], int, long[], int, int) instead
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[], int, byte[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
encrypt(byte[], byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use encrypt(byte[], int, byte[], int, int) instead
encrypt(byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use encrypt(byte[], int, int) instead
encrypt(int[], int, int[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
encrypt(int[], int[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use encrypt(int[], int, int[], int, int) instead
encrypt(int[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use encrypt(int[], int, int[], int, int) instead
encrypt(long[], int, long[], int, int) - Method in class BlowfishJ.BlowfishCBC
 
encrypt(long[], long[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use encrypt(long[], int, long[], int, int) instead
encrypt(long[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use encrypt(long[], int, long[], int, int) instead
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(byte[], byte[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use encrypt(byte[], int, byte[], int, int) instead
encrypt(byte[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use encrypt(byte[], int, byte[], int, int) instead
encrypt(int[], int, int[], int, int) - Method in class BlowfishJ.BlowfishECB
Encrypts an integer buffer to another integer buffer.
encrypt(int[], int[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use encrypt(int[], int, int[], int, int) instead
encrypt(int[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use encrypt(int[], int, int[], int, int) instead
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.BlowfishECB
Deprecated. use encrypt(long[], int, long[], int, int) instead
encrypt(long[]) - Method in class BlowfishJ.BlowfishECB
Deprecated. use encrypt(long[], int, long[], int, int) instead
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 (in Unicode).

F

finalize() - Method in class BlowfishJ.SHA1
Finalizes the digest.
flush() - Method in class BlowfishJ.BlowfishOutputStream
 

G

getCBCIV() - Method in class BlowfishJ.BlowfishCBC
Gets the current CBC IV.
getCBCIV(byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use getCBCIV(byte[], int) instead
getCBCIV(byte[], int) - Method in class BlowfishJ.BlowfishCBC
Gets a copy of the current CBC IV.
getDigest() - Method in class BlowfishJ.SHA1
Retrieves the digest.
getDigest(byte[], int) - Method in class BlowfishJ.SHA1
Retrieves the digest into an existing buffer.

H

hexStrToBytes(String, byte[], int, int, int) - Static method in class BlowfishJ.BinConverter
Converts a hex string back into a byte array (invalid codes will be skipped).

I

initialize(byte[], int, int) - Method in class BlowfishJ.BlowfishECB
Initializes (or resets) the instances.
InOutputStreamTest - Class in BlowfishJ.test
Simple tests for the BlowfishInputStream and BlowfishOutputStream.
InOutputStreamTest() - Constructor for class BlowfishJ.test.InOutputStreamTest
 
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

main(String[]) - Static method in class BlowfishJ.test.BlowfishDemo
the application entry point
main(String[]) - Static method in class BlowfishJ.test.SHA1Demo
Application entry point.
makeLong(int, int) - Static method in class BlowfishJ.BinConverter
Makes a long from two integers (treated unsigned).
MAXKEYLENGTH - Static variable in class BlowfishJ.BlowfishECB
maximum possible key length in bytes

R

read() - Method in class BlowfishJ.BlowfishInputStream
 
reset() - Method in class BlowfishJ.SHA1
Initializes (or resets) the hasher for a new session.

S

selfTest() - Static method in class BlowfishJ.BlowfishECB
Selftest routine, for instance to check for a valid class file loading.
selfTest() - Method in class BlowfishJ.SHA1
Runs an integrity test.
setCBCIV(long) - Method in class BlowfishJ.BlowfishCBC
Sets the current CBC IV (for cipher resets).
setCBCIV(byte[]) - Method in class BlowfishJ.BlowfishCBC
Deprecated. use setCBCIV(byte[], int) instead
setCBCIV(byte[], int) - Method in class BlowfishJ.BlowfishCBC
Sets the current CBC IV (for cipher resets).
SHA1 - Class in BlowfishJ
SHA-1 message digest implementation, translated from C source code (the origin is unknown).
SHA1() - Constructor for class BlowfishJ.SHA1
Default constructor.
SHA1Demo - Class in BlowfishJ.test
Simple SHA-1 test application; note that the time this package was written SHA-1 hashing wasn't included officially in the Java framework; in these days it could actually be replaced by the MessageDigest factory's capabilities.
SHA1Demo() - Constructor for class BlowfishJ.test.SHA1Demo
 
suite() - Static method in class BlowfishJ.test.AllTests
 

T

test0() - Method in class BlowfishJ.test.TestVectors
 
testBlowfishEasy() - Method in class BlowfishJ.test.BlowfishTests
 
testByteArrayHandling() - Method in class BlowfishJ.test.BlowfishTests
 
testByteArrayToInt() - Method in class BlowfishJ.test.BinConverterTest
 
testByteArrayToLong() - Method in class BlowfishJ.test.BinConverterTest
 
testByteArrayToStr() - Method in class BlowfishJ.test.BinConverterTest
 
testBytesToHexStr() - Method in class BlowfishJ.test.BinConverterTest
 
testhexStrToBytes() - Method in class BlowfishJ.test.BinConverterTest
 
testIntArrayToLong() - Method in class BlowfishJ.test.BinConverterTest
 
testIntToByteArray() - Method in class BlowfishJ.test.BinConverterTest
 
testLongHi32() - Method in class BlowfishJ.test.BinConverterTest
 
testLongLo32() - Method in class BlowfishJ.test.BinConverterTest
 
testLongToByteArray() - Method in class BlowfishJ.test.BinConverterTest
 
testLongToIntArray() - Method in class BlowfishJ.test.BinConverterTest
 
testMakeLong() - Method in class BlowfishJ.test.BinConverterTest
 
testRefStream() - Method in class BlowfishJ.test.InOutputStreamTest
 
testStreams() - Method in class BlowfishJ.test.InOutputStreamTest
 
TestVectors - Class in BlowfishJ.test
Tests the official vectors from the Counterpane website.
TestVectors() - Constructor for class BlowfishJ.test.TestVectors
 
testWeakKey() - Method in class BlowfishJ.test.BlowfishTests
 
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
Deprecated. use update(byte[], int, int) instead
update(byte[], int, int) - Method in class BlowfishJ.SHA1
Adds a portion of a byte array to the digest.
update(String) - Method in class BlowfishJ.SHA1
Deprecated. don't use this method anymore (it's not clean), you might want to try update(sData.getBytes()) instead

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
 

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