A C F G H I M N R U W

A

asHex(byte[]) - Static method in class com.twmacinta.util.MD5
Turns array of bytes into string representing each byte as unsigned hex number.
asHex() - Method in class com.twmacinta.util.MD5
Returns 32-character hex representation of this objects hash

C

close() - Method in class com.twmacinta.io.NullOutputStream
 
com.twmacinta.io - package com.twmacinta.io
 
com.twmacinta.util - package com.twmacinta.util
 
com.twmacinta.util.test - package com.twmacinta.util.test
 

F

Final() - Method in class com.twmacinta.util.MD5
Returns array of bytes (16 bytes) representing hash as of the current state of this object.
flush() - Method in class com.twmacinta.io.NullOutputStream
 

G

getHash(File) - Static method in class com.twmacinta.util.MD5
Calculates and returns the hash of the contents of the given file.
getMD5() - Method in class com.twmacinta.util.MD5InputStream
 
getMD5() - Method in class com.twmacinta.util.MD5OutputStream
 

H

hash() - Method in class com.twmacinta.util.MD5InputStream
Returns array of bytes representing hash of the stream as finalized for the current state.
hash() - Method in class com.twmacinta.util.MD5OutputStream
Returns array of bytes representing hash of the stream as finalized for the current state.
hashesEqual(byte[], byte[]) - Static method in class com.twmacinta.util.MD5
 

I

Init() - Method in class com.twmacinta.util.MD5
Initialize MD5 internal state (object can be reused just by calling Init() after every Final()
initNativeLibrary() - Static method in class com.twmacinta.util.MD5
Convenience method for initNativeLibrary(false).
initNativeLibrary(boolean) - Static method in class com.twmacinta.util.MD5
Attempts to initialize native library support.

M

main(String[]) - Static method in class com.twmacinta.util.MD5InputStream
This method is here for testing purposes only - do not rely on it being here.
main(String[]) - Static method in class com.twmacinta.util.MD5OutputStream
This method is here for testing purposes only - do not rely on it being here.
main(String[]) - Static method in class com.twmacinta.util.test.MD5OutputStreamTest
Usage: java com.twmacinta.util.test.MD5OutputStreamTest [seed | "time" [max_data]]
MD5 - Class in com.twmacinta.util
Fast implementation of RSA's MD5 hash generator in Java JDK Beta-2 or higher.
MD5() - Constructor for class com.twmacinta.util.MD5
Class constructor
MD5(Object) - Constructor for class com.twmacinta.util.MD5
Initialize class, and update hash with ob.toString()
MD5InputStream - Class in com.twmacinta.util
MD5InputStream, a subclass of FilterInputStream implementing MD5 functionality on a stream.
MD5InputStream(InputStream) - Constructor for class com.twmacinta.util.MD5InputStream
Creates a MD5InputStream
MD5OutputStream - Class in com.twmacinta.util
MD5OutputStream is a subclass of FilterOutputStream adding MD5 hashing of the output.
MD5OutputStream(OutputStream) - Constructor for class com.twmacinta.util.MD5OutputStream
Creates MD5OutputStream
MD5OutputStreamTest - Class in com.twmacinta.util.test
Copyright (c) 2002 - 2010 by Timothy W Macinta, All Rights Reserved.
MD5OutputStreamTest() - Constructor for class com.twmacinta.util.test.MD5OutputStreamTest
 

N

NullOutputStream - Class in com.twmacinta.io
Copyright (c) 2001, 2002 by Pensamos Digital, Inc., All Rights Reserved.
NullOutputStream() - Constructor for class com.twmacinta.io.NullOutputStream
 

R

read() - Method in class com.twmacinta.util.MD5InputStream
Read a byte of data.
read(byte[], int, int) - Method in class com.twmacinta.util.MD5InputStream
Reads into an array of bytes.

U

Update(MD5State, byte[], int, int) - Method in class com.twmacinta.util.MD5
Updates hash with the bytebuffer given (using at maximum length bytes from that buffer)
Update(byte[], int, int) - Method in class com.twmacinta.util.MD5
Plain update, updates this object
Update(byte[], int) - Method in class com.twmacinta.util.MD5
 
Update(byte[]) - Method in class com.twmacinta.util.MD5
Updates hash with given array of bytes
Update(byte) - Method in class com.twmacinta.util.MD5
Updates hash with a single byte
Update(String) - Method in class com.twmacinta.util.MD5
Update buffer with given string.
Update(String, String) - Method in class com.twmacinta.util.MD5
Update buffer with given string using the given encoding.
Update(int) - Method in class com.twmacinta.util.MD5
Update buffer with a single integer (only & 0xff part is used, as a byte)

W

write(byte[]) - Method in class com.twmacinta.io.NullOutputStream
 
write(byte[], int, int) - Method in class com.twmacinta.io.NullOutputStream
 
write(int) - Method in class com.twmacinta.io.NullOutputStream
 
write(int) - Method in class com.twmacinta.util.MD5OutputStream
Writes a byte.
write(byte[], int, int) - Method in class com.twmacinta.util.MD5OutputStream
Writes a sub array of bytes.

A C F G H I M N R U W