public final class MD5
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes(java.lang.String s)
Generate binary md5 hash
|
java.lang.String |
getHash(java.lang.String s)
Generate the md5 hash
|
static MD5 |
getInstance()
Return the one and only instance of this class
|
public static MD5 getInstance()
public java.lang.String getHash(java.lang.String s)
s
- a stringpublic byte[] getBytes(java.lang.String s)
s
- a string