Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
E
F
G
H
I
L
M
N
R
S
T
U
W
B
BLOCKSIZE
- Static variable in class net.sourceforge.blowfishj.
BlowfishECB
block size of this cipher (in bytes)
BinConverter
- class net.sourceforge.blowfishj.
BinConverter
.
Some helper routines for data conversion, all data is treated in network byte order.
BinConverter()
- Constructor for class net.sourceforge.blowfishj.
BinConverter
BlowfishCBC
- class net.sourceforge.blowfishj.
BlowfishCBC
.
Implementation of the Blowfish encryption algorithm in CBC mode.
BlowfishCBC(byte[])
- Constructor for class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use BlowfishCBC(byte[], int, int) instead
BlowfishCBC(byte[], int, int)
- Constructor for class net.sourceforge.blowfishj.
BlowfishCBC
Constructor, uses a zero CBC IV.
BlowfishCBC(byte[], long)
- Constructor for class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use BlowfishCBC(byte[], int, int, long) instead
BlowfishCBC(byte[], int, int, long)
- Constructor for class net.sourceforge.blowfishj.
BlowfishCBC
Constructor to define the CBC IV.
BlowfishCBC(byte[], byte[])
- Constructor for class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use BlowfishCBC(byte[], int, int, byte[], int) instead
BlowfishCBC(byte[], int, int, byte[], int)
- Constructor for class net.sourceforge.blowfishj.
BlowfishCBC
Constructor to define the CBC IV.
BlowfishECB
- class net.sourceforge.blowfishj.
BlowfishECB
.
Implementation of the Blowfish encryption algorithm in ECB mode.
BlowfishECB()
- Constructor for class net.sourceforge.blowfishj.
BlowfishECB
The default constructor, call initialize() afterwards to do the final setup.
BlowfishECB(byte[])
- Constructor for class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use BlowfishECB(byte[], int, int) instead
BlowfishECB(byte[], int, int)
- Constructor for class net.sourceforge.blowfishj.
BlowfishECB
BlowfishEasy
- class net.sourceforge.blowfishj.
BlowfishEasy
.
Support class for easy string encryption with the Blowfish algorithm.
BlowfishEasy(String)
- Constructor for class net.sourceforge.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 net.sourceforge.blowfishj.
BlowfishEasy
Constructor to use string data as the key.
BlowfishInputStream
- class net.sourceforge.blowfishj.
BlowfishInputStream
.
An input stream that reads from a file created an instance of the net.sourceforge.blowfishj.BlowfishOutputStream class.
BlowfishInputStream(byte[], int, int, InputStream)
- Constructor for class net.sourceforge.blowfishj.
BlowfishInputStream
Default constructor.
BlowfishInputStream(String, InputStream)
- Constructor for class net.sourceforge.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
BlowfishOutputStream
- class net.sourceforge.blowfishj.
BlowfishOutputStream
.
An output stream that encrypts data using the Blowfish algorithm in CBC mode, padded with PCKS7.
BlowfishOutputStream(byte[], int, int, OutputStream)
- Constructor for class net.sourceforge.blowfishj.
BlowfishOutputStream
Default constructor.
BlowfishOutputStream(String, OutputStream)
- Constructor for class net.sourceforge.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
byteArrayToInt(byte[], int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Gets bytes from an array into an integer.
byteArrayToLong(byte[], int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Gets bytes from an array into a long.
byteArrayToStr(byte[], int, int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Converts a byte array into a Unicode string.
bytesToHexStr(byte[])
- Static method in class net.sourceforge.blowfishj.
BinConverter
Converts a byte array to a hex string.
bytesToHexStr(byte[], int, int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Converts a byte array to a hex string.
C
cleanUp()
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
see net.sourceforge.blowfishj.BlowfishECB#cleanUp()
cleanUp()
- Method in class net.sourceforge.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 net.sourceforge.blowfishj.
SHA1
Clears all data, use reset() to start again.
close()
- Method in class net.sourceforge.blowfishj.
BlowfishInputStream
close()
- Method in class net.sourceforge.blowfishj.
BlowfishOutputStream
D
DIGEST_SIZE
- Static variable in class net.sourceforge.blowfishj.
SHA1
size of a SHA-1 digest in octets
decrypt(byte[], int, byte[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
decrypt(byte[], byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use decrypt(byte[], int, byte[], int, int) instead
decrypt(byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use encrypt(byte[], int, byte[], int, int) instead
decrypt(int[], int, int[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
decrypt(int[], int[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use decrypt(int[], int, int[], int, int) instead
decrypt(int[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use decrypt(int[], int, int[], int, int) instead
decrypt(long[], int, long[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
decrypt(long[], long[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use decrypt(long[], int, long[], int, int) instead
decrypt(long[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use decrypt(long[], int, long[], int, int) instead
decrypt(byte[], int, byte[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Decrypts a byte buffer to another buffer, extra misaligned data will not be processed.
decrypt(byte[], byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use decrypt(byte[], int, byte[], int, int) instead
decrypt(byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use decrypt(byte[], int, byte[], int, int) instead
decrypt(int[], int, int[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Decrypts an integer buffer to another integer buffer.
decrypt(int[], int[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use decrypt(int[], int, int[], int, int) instead
decrypt(int[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use decrypt(int[], int, int[], int, int) instead
decrypt(long[], int, long[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Decrypts an long buffer to another long buffer.
decrypt(long[], long[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use decrypt(long[], int, long[], int, int) instead
decrypt(long[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use decrypt(long[], int, long[], int, int) instead
decryptString(String)
- Method in class net.sourceforge.blowfishj.
BlowfishEasy
Decrypts a hexbin string (handling is case sensitive).
destroy()
- Method in class net.sourceforge.blowfishj.
BlowfishEasy
Destroys (clears) the encryption engine, after that the instance is not valid anymore.
E
encrypt(byte[], int, byte[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
encrypt(byte[], byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use encrypt(byte[], int, byte[], int, int) instead
encrypt(byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use encrypt(byte[], int, int) instead
encrypt(int[], int, int[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
encrypt(int[], int[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use encrypt(int[], int, int[], int, int) instead
encrypt(int[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use encrypt(int[], int, int[], int, int) instead
encrypt(long[], int, long[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
encrypt(long[], long[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use encrypt(long[], int, long[], int, int) instead
encrypt(long[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use encrypt(long[], int, long[], int, int) instead
encrypt(byte[], int, byte[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Encrypts a byte buffer to another buffer, extra misaligned data will not be processed.
encrypt(byte[], byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use encrypt(byte[], int, byte[], int, int) instead
encrypt(byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use encrypt(byte[], int, byte[], int, int) instead
encrypt(int[], int, int[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Encrypts an integer buffer to another integer buffer.
encrypt(int[], int[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use encrypt(int[], int, int[], int, int) instead
encrypt(int[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use encrypt(int[], int, int[], int, int) instead
encrypt(long[], int, long[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Encrypts an long buffer to another long buffer.
encrypt(long[], long[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use encrypt(long[], int, long[], int, int) instead
encrypt(long[])
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Deprecated.
use encrypt(long[], int, long[], int, int) instead
encryptPrv(byte[], int, byte[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishECB
encryptString(String)
- Method in class net.sourceforge.blowfishj.
BlowfishEasy
Encrypts a string (treated in Unicode) using the internal random generator.
encryptString(String, Random)
- Method in class net.sourceforge.blowfishj.
BlowfishEasy
Encrypts a string (in Unicode).
F
finalize()
- Method in class net.sourceforge.blowfishj.
SHA1
Finalizes the digest.
flush()
- Method in class net.sourceforge.blowfishj.
BlowfishOutputStream
G
getCBCIV()
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Gets the current CBC IV.
getCBCIV(byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use getCBCIV(byte[], int) instead
getCBCIV(byte[], int)
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Gets a copy of the current CBC IV.
getDigest()
- Method in class net.sourceforge.blowfishj.
SHA1
Retrieves the digest.
getDigest(byte[], int)
- Method in class net.sourceforge.blowfishj.
SHA1
Retrieves the digest into an existing buffer.
H
hexStrToBytes(String, byte[], int, int, int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Converts a hex string back into a byte array (invalid codes will be skipped).
I
initialize(byte[], int, int)
- Method in class net.sourceforge.blowfishj.
BlowfishECB
Initializes (or resets) the instances.
intArrayToLong(int[], int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Converts values from an integer array to a long.
intToByteArray(int, byte[], int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Converts an integer to bytes, which are put into an array.
L
longHi32(long)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Gets the higher 32 bits of a long.
longLo32(long)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Gets the lower 32 bits of a long.
longToByteArray(long, byte[], int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Converts a long to bytes, which are put into an array.
longToIntArray(long, int[], int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Converts a long to integers which are put into an array.
M
MAXKEYLENGTH
- Static variable in class net.sourceforge.blowfishj.
BlowfishECB
maximum possible key length in bytes
makeLong(int, int)
- Static method in class net.sourceforge.blowfishj.
BinConverter
Makes a long from two integers (treated unsigned).
N
net.sourceforge.blowfishj
- package net.sourceforge.blowfishj
R
read()
- Method in class net.sourceforge.blowfishj.
BlowfishInputStream
reset()
- Method in class net.sourceforge.blowfishj.
SHA1
Initializes (or resets) the hasher for a new session.
S
SHA1
- class net.sourceforge.blowfishj.
SHA1
.
SHA-1 message digest implementation, translated from C source code (the origin is unknown).
SHA1()
- Constructor for class net.sourceforge.blowfishj.
SHA1
Default constructor.
selfTest()
- Static method in class net.sourceforge.blowfishj.
BlowfishECB
Selftest routine, for instance to check for a valid class file loading.
selfTest()
- Method in class net.sourceforge.blowfishj.
SHA1
Runs an integrity test.
setCBCIV(long)
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Sets the current CBC IV (for cipher resets).
setCBCIV(byte[])
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Deprecated.
use setCBCIV(byte[], int) instead
setCBCIV(byte[], int)
- Method in class net.sourceforge.blowfishj.
BlowfishCBC
Sets the current CBC IV (for cipher resets).
T
toString()
- Method in class net.sourceforge.blowfishj.
SHA1
makes a binhex string representation of the current digest
U
update(byte)
- Method in class net.sourceforge.blowfishj.
SHA1
Adds a single byte to the digest.
update(byte[])
- Method in class net.sourceforge.blowfishj.
SHA1
Deprecated.
use update(byte[], int, int) instead
update(byte[], int, int)
- Method in class net.sourceforge.blowfishj.
SHA1
Adds a portion of a byte array to the digest.
update(String)
- Method in class net.sourceforge.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 net.sourceforge.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 net.sourceforge.blowfishj.
BlowfishOutputStream
B
C
D
E
F
G
H
I
L
M
N
R
S
T
U
W
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2004-2005 Sourceforge. All Rights Reserved.