public class MD5Digest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
DIGEST_LENGTH |
(package private) java.security.MessageDigest |
md |
Constructor and Description |
---|
MD5Digest()
Standard constructor
Note: the previous implementation (non-java.security based) also
included a copy constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
doFinal(byte[] out,
int outOff) |
void |
finish() |
java.lang.String |
getAlgorithmName() |
int |
getDigestSize() |
void |
reset()
Resets the digest for further use.
|
void |
update(byte in) |
void |
update(byte[] in,
int inOff,
int len) |
private static final int DIGEST_LENGTH
java.security.MessageDigest md
public MD5Digest()
Note: 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.
public java.lang.String getAlgorithmName()
public int getDigestSize()
public int doFinal(byte[] out, int outOff)
public void reset()
public void update(byte in)
public void update(byte[] in, int inOff, int len)
public void finish()
Generated on June 8 2013