|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.catalina.util.MD5Encoder
public final class MD5Encoder
Encode an MD5 digest into a String.
The 128 bit MD5 hash is converted into a 32 character long String. Each character of the String is the hexadecimal representation of 4 bits of the digest.
| Constructor Summary | |
|---|---|
MD5Encoder()
|
|
| Method Summary | |
|---|---|
java.lang.String |
encode(byte[] binaryData)
Encodes the 128 bit (16 bytes) MD5 into a 32 character String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MD5Encoder()
| Method Detail |
|---|
public java.lang.String encode(byte[] binaryData)
binaryData - Array containing the digest
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||