@InterfaceAudience.Public @InterfaceStability.Stable public class MD5Hash extends java.lang.Object
| Constructor and Description |
|---|
MD5Hash() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getMD5AsHex(byte[] key)
Given a byte array, returns in MD5 hash as a hex string.
|
static java.lang.String |
getMD5AsHex(byte[] key,
int offset,
int length)
Given a byte array, returns its MD5 hash as a hex string.
|
public static java.lang.String getMD5AsHex(byte[] key)
key - public static java.lang.String getMD5AsHex(byte[] key,
int offset,
int length)
key - the key to hash (variable length byte array)offset - length -