|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.core.client.encoder.MD5
public class MD5
MD5 Message Digest Algorithm, as defined in RFC 1321.
| Constructor Summary | |
|---|---|
MD5()
|
|
| Method Summary | |
|---|---|
static String |
base64HmacMD5(String k,
String d)
Calculate the HMAC-MD5, of a key and some data (raw strings) and output it as a base64 string |
static String |
base64MD5(String s)
Generate a MD5 hash and output it as a base64 string |
static String |
hexHmacMD5(String k,
String d)
Calculate the HMAC-MD5, of a key and some data (raw strings) and output it as an hex4 string |
static String |
hexMD5(String s)
Generate a MD5 hash and output it as an hex string |
static String |
rawHmacMD5(String key,
String data)
Calculate the HMAC-MD5, of a key and some data (raw strings) |
static String |
rawMD5(String s)
Calculate the MD5 of a raw string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MD5()
| Method Detail |
|---|
public static String hexMD5(String s)
s - valid UTF-16 string
public static String base64MD5(String s)
s - valid UTF-16 string
public static String hexHmacMD5(String k,
String d)
public static String base64HmacMD5(String k,
String d)
public static String rawHmacMD5(String key,
String data)
public static String rawMD5(String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||