A B C D E F G H I M N P U V

A

algo - Variable in class goldengate.common.digest.FilesystemBasedDigest
 
asByte(String) - Static method in class goldengate.common.digest.MD5
Turns String into array of bytes representing each couple of unsigned hex number as one byte.
asHex(byte[]) - Static method in class goldengate.common.digest.MD5
Turns array of bytes into string representing each byte as unsigned hex number.
asHex() - Method in class goldengate.common.digest.MD5
Returns 32-character hex representation of this objects hash

B

byteSize - Variable in enum goldengate.common.digest.FilesystemBasedDigest.DigestAlgo
 

C

checksum - Variable in class goldengate.common.digest.FilesystemBasedDigest
 

D

digest - Variable in class goldengate.common.digest.FilesystemBasedDigest
 
digestEquals(byte[], byte[]) - Static method in class goldengate.common.digest.FilesystemBasedDigest
 
digestEquals(String, byte[]) - Static method in class goldengate.common.digest.FilesystemBasedDigest
 

E

equalPasswd(String, String) - Static method in class goldengate.common.digest.FilesystemBasedDigest
 
equalPasswd(byte[], byte[]) - Static method in class goldengate.common.digest.FilesystemBasedDigest
 
equalPasswd(String, String) - Static method in class goldengate.common.digest.MD5
 
equalPasswd(byte[], byte[]) - Static method in class goldengate.common.digest.MD5
 

F

fastMd5Path - Static variable in class goldengate.common.digest.FilesystemBasedDigest
If using Fast MD5, should we used the binary JNI library, empty meaning no.
FilesystemBasedDigest - Class in goldengate.common.digest
Class implementing digest like MD5, SHA1.
FilesystemBasedDigest(FilesystemBasedDigest.DigestAlgo) - Constructor for class goldengate.common.digest.FilesystemBasedDigest
Constructor of an independent Digest
FilesystemBasedDigest.DigestAlgo - Enum in goldengate.common.digest
All Algo that Digest Class could handle
Final() - Method in class goldengate.common.digest.FilesystemBasedDigest
 
Final() - Method in class goldengate.common.digest.MD5
Returns array of bytes (16 bytes) representing hash as of the current state of this object.

G

getByteSize() - Method in enum goldengate.common.digest.FilesystemBasedDigest.DigestAlgo
 
getFromHex(String) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Get the array of bytes representation of the hexadecimal String
getHash(File, boolean, FilesystemBasedDigest.DigestAlgo) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Get the Digest for the file using the specified algorithm using access through NIO or not
getHash(InputStream, FilesystemBasedDigest.DigestAlgo) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Get the Digest for the file using the specified algorithm using access through NIO or not
getHash(ChannelBuffer, FilesystemBasedDigest.DigestAlgo) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Get hash with given ChannelBuffer (from Netty)
getHash(File) - Static method in class goldengate.common.digest.MD5
Calculates and returns the hash of the contents of the given file.
getHash(InputStream) - Static method in class goldengate.common.digest.MD5
Calculates and returns the hash of the contents of the given stream.
getHashMd5(File) - Static method in class goldengate.common.digest.FilesystemBasedDigest
get the byte array of the MD5 for the given FileInterface using standard access
getHashMd5(ChannelBuffer) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Get hash with given ChannelBuffer (from Netty)
getHashMd5Nio(File) - Static method in class goldengate.common.digest.FilesystemBasedDigest
get the byte array of the MD5 for the given FileInterface using Nio access
getHashNio(File) - Static method in class goldengate.common.digest.MD5
Calculates and returns the hash of the contents of the given file using Nio file access.
getHashSha1(File) - Static method in class goldengate.common.digest.FilesystemBasedDigest
get the byte array of the SHA-1 for the given FileInterface using standard access
getHashSha1Nio(File) - Static method in class goldengate.common.digest.FilesystemBasedDigest
get the byte array of the SHA-1 for the given FileInterface using Nio access
getHex(byte[]) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Get the hexadecimal representation as a String of the array of bytes
getHexSize() - Method in enum goldengate.common.digest.FilesystemBasedDigest.DigestAlgo
 
goldengate.common.digest - package goldengate.common.digest
Classes implementing digests support (MD2, MD5, SHA1, SHA-256/384/512, CRC32, ADLER32)

MD5 can be implemented through Fast MD5 implementation, with or without C library support, but can be reverted to JVM native digest also.
goldengate.common.digest.CLIB - package goldengate.common.digest.CLIB
Classes implementing MD5 in C using JNI

H

hashesEqual(byte[], byte[]) - Static method in class goldengate.common.digest.MD5
Test if both hashes are equal

I

Init() - Method in class goldengate.common.digest.MD5
Initialize MD5 internal state (object can be reused just by calling Init() after every Final()
initialize() - Method in class goldengate.common.digest.FilesystemBasedDigest
(Re)Initialize the digest
initialize(FilesystemBasedDigest.DigestAlgo) - Method in class goldengate.common.digest.FilesystemBasedDigest
(Re)Initialize the digest
initializeMd5(boolean, String) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Initialize the MD5 support
initNativeLibrary(boolean) - Static method in class goldengate.common.digest.MD5
Disable lib loading (True) or enable it (false)
initNativeLibrary(String) - Static method in class goldengate.common.digest.MD5
Initialize the Native Library from path

M

main(String[]) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Test function
main(String[]) - Static method in class goldengate.common.digest.MD5
Test function
md5 - Variable in class goldengate.common.digest.FilesystemBasedDigest
 
MD5 - Class in goldengate.common.digest
Fast implementation of RSA's MD5 hash generator in Java JDK Beta-2 or higher.
MD5() - Constructor for class goldengate.common.digest.MD5
Class constructor
MD5(Object) - Constructor for class goldengate.common.digest.MD5
Initialize class, and update hash with ob.toString()

N

name - Variable in enum goldengate.common.digest.FilesystemBasedDigest.DigestAlgo
 

P

passwdCrypt(String) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Crypt a password
passwdCrypt(byte[]) - Static method in class goldengate.common.digest.FilesystemBasedDigest
Crypt a password
passwdCrypt(String) - Static method in class goldengate.common.digest.MD5
Crypt a password
passwdCrypt(byte[]) - Static method in class goldengate.common.digest.MD5
Crypt a password

U

Update(byte[], int, int) - Method in class goldengate.common.digest.FilesystemBasedDigest
Update the digest with new bytes
Update(MD5State, byte[], int, int) - Method in class goldengate.common.digest.MD5
Updates hash with the bytebuffer given (using at maximum length bytes from that buffer)
Update(byte[], int, int) - Method in class goldengate.common.digest.MD5
Plain update, updates this object
Update(byte[], int) - Method in class goldengate.common.digest.MD5
Plain update, updates this object
Update(byte[]) - Method in class goldengate.common.digest.MD5
Updates hash with given array of bytes
Update(byte) - Method in class goldengate.common.digest.MD5
Updates hash with a single byte
Update(String) - Method in class goldengate.common.digest.MD5
Update buffer with given string.
Update(String, String) - Method in class goldengate.common.digest.MD5
Update buffer with given string using the given encoding.
Update(int) - Method in class goldengate.common.digest.MD5
Update buffer with a single integer (only & 0xff part is used, as a byte)
Update(ChannelBuffer) - Method in class goldengate.common.digest.MD5
Updates hash with given ChannelBuffer (from Netty)
useFastMd5 - Static variable in class goldengate.common.digest.FilesystemBasedDigest
Should a file MD5 be computed using FastMD5

V

valueOf(String) - Static method in enum goldengate.common.digest.FilesystemBasedDigest.DigestAlgo
Returns the enum constant of this type with the specified name.
values() - Static method in enum goldengate.common.digest.FilesystemBasedDigest.DigestAlgo
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D E F G H I M N P U V

Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.