public class MD5Util extends Object
| Constructor and Description |
|---|
MD5Util() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getMD5Hash(byte[] bytes)
Returns the MD5 hash of the given byte array.
|
static String |
getMD5Hash(String toHash)
Returns the MD5 hash of the given string.
|
static String |
getMD5Hash(StringBuilder toHash)
Returns the MD5 hash of the given string.
|
public static final String getMD5Hash(String toHash)
toHash - the string to enhash.public static final String getMD5Hash(StringBuilder toHash)
toHash - the stringbuilder to enhash.public static final String getMD5Hash(byte[] bytes)
bytes - the byte array containing the string to enhash.Copyright © 2010-2014 anotheria.net. All Rights Reserved.