Package net.sourceforge.jtds.util
Class MD5Digest
java.lang.Object
net.sourceforge.jtds.util.MD5Digest
Provides MD5 via java.security based implementation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DIGEST_LENGTH
private static final int DIGEST_LENGTH- See Also:
-
md
-
-
Constructor Details
-
MD5Digest
public MD5Digest()Standard constructorNote: the previous implementation (non-java.security based) also included a copy constructor. This has been removed as it doesn't make sense with the java.security based implementation.
-
-
Method Details
-
getAlgorithmName
-
getDigestSize
public int getDigestSize() -
doFinal
public int doFinal(byte[] out, int outOff) -
reset
public void reset()Resets the digest for further use. -
update
public void update(byte in) -
update
public void update(byte[] in, int inOff, int len) -
finish
public void finish()
-