|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.util.MD5Hash
public class MD5Hash
Utility class for MD5 MD5 hash produces a 128-bit digest.
| Constructor Summary | |
|---|---|
MD5Hash()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MD5Hash()
| Method Detail |
|---|
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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||