Home » apache-tomcat-6.0.16-src » org.apache » catalina » util » [javadoc | source]
org.apache.catalina.util
public final class: MD5Encoder [javadoc | source]
java.lang.Object
   org.apache.catalina.util.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.

Method from org.apache.catalina.util.MD5Encoder Summary:
encode
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.util.MD5Encoder Detail:
 public String encode(byte[] binaryData) 
    Encodes the 128 bit (16 bytes) MD5 into a 32 character String.