org.xbill.DNS.utils
Class md5
java.lang.Object
|
+--org.xbill.DNS.utils.md5
- public final class md5
- extends Object
A pure java implementation of the MD5 digest algorithm
|
Method Summary |
static byte[] |
compute(byte[] data)
Compute the MD5 digest of a block of data. |
static byte[] |
compute(byte[] data,
int start,
int len)
Compute the MD5 digest of a block of data. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
compute
public static byte[] compute(byte[] data,
int start,
int len)
- Compute the MD5 digest of a block of data.
- Parameters:
data - The datastart - The index at which to start digestinglen - The number of bytes to digest- Returns:
- The MD5 digest (a 16 byte array)
compute
public static byte[] compute(byte[] data)
- Compute the MD5 digest of a block of data.
- Parameters:
data - The data- Returns:
- The MD5 digest (a 16 byte array)