|
Oracle Application Server HTTPClient Java API Reference 10g Release 3 (10.1.3.1.0) B32117-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
HTTPClient.MD5
Some utility methods for digesting info using MD5.
| Constructor Summary | |
MD5() |
|
| Method Summary | |
static byte[] |
digest(byte[] input)Digest the input. |
static byte[] |
digest(byte[] input1, byte[] input2)Digest the input. |
static byte[] |
digest(java.lang.String input)Digest the input. |
static java.lang.String |
hexDigest(byte[] input)Digest the input. |
static java.lang.String |
hexDigest(byte[] input1, byte[] input2)Digest the input. |
static java.lang.String |
hexDigest(java.lang.String input)Digest the input. |
static java.lang.String |
toHex(byte[] hash)Turns array of bytes into string representing each byte as unsigned hex number. |
| 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 final java.lang.String toHex(byte[] hash)
hash - array of bytes to convert to hex-stringpublic static final byte[] digest(byte[] input)
input - the data to be digested.
public static final byte[] digest(byte[] input1,
byte[] input2)
input1 - the first part of the data to be digested.input2 - the second part of the data to be digested.public static final java.lang.String hexDigest(byte[] input)
input - the data to be digested.
public static final java.lang.String hexDigest(byte[] input1,
byte[] input2)
input1 - the first part of the data to be digested.input2 - the second part of the data to be digested.public static final byte[] digest(java.lang.String input)
input - the data to be digested.public static final java.lang.String hexDigest(java.lang.String input)
input - the data to be digested.
|
Oracle Application Server HTTPClient Java API Reference 10g Release 3 (10.1.3.1.0) B32117-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||