Package org.apache.catalina.util
Class DigestEncoder
- java.lang.Object
-
- org.apache.catalina.util.DigestEncoder
-
public final class DigestEncoder extends Object
Encode a digest into a String.The digest hash is converted into a 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 DigestEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]
encode(byte[] binaryData)
Encodes the 8m bit (m bytes) MD5 into a 2m character String.
-