Package org.apache.catalina.util
Class MD5Encoder
- java.lang.Object
-
- org.apache.catalina.util.MD5Encoder
-
public final class MD5Encoder extends Object
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.
- Version:
- $Revision: 1.2 $ $Date: 2005/12/08 01:28:18 $
- Author:
- Remy Maucherat
-
-
Constructor Summary
Constructors Constructor Description MD5Encoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]
encode(byte[] binaryData)
Encodes the 128 bit (16 bytes) MD5 into a 32 character String.
-