public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
hexMD5(byte[] data)
Produce hex representation of the MD5 digest of a byte array
|
static java.lang.String |
hexMD5(java.nio.ByteBuffer buf,
int offset,
int len) |
static java.lang.String |
toHex(byte[] b) |
public static java.lang.String toHex(byte[] b)
public static java.lang.String hexMD5(byte[] data)
data
- bytes to digestpublic static java.lang.String hexMD5(java.nio.ByteBuffer buf, int offset, int len)