| Modifier and Type | Field and Description |
|---|---|
| private static final char[] | DIGITS_LOWER
Used to build output as Hex |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | |
| private static char[] | Returns: A char[] containing hexadecimal charactersa byte[] to convert to Hex characters data)Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order. |
| DIGITS_LOWER | back to summary |
|---|---|
| private static final char[] DIGITS_LOWER Used to build output as Hex | |
| MD5Util | back to summary |
|---|---|
| public MD5Util() | |
| computeMD5 | back to summary |
|---|---|
| public static String computeMD5(String input) | |
| computeMD5 | back to summary |
|---|---|
| public static String computeMD5(InputStream stream) | |
| encodeHex | back to summary |
|---|---|
| private static char[] encodeHex(byte[] data) Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order. The returned array will be double the length of the passed array, as it takes two characters to represent any given byte.
| |