org.apache.catalina.util
クラス MD5Encoder

java.lang.Object
  |
  +--org.apache.catalina.util.MD5Encoder

public final class MD5Encoder
extends java.lang.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.

バージョン:
$Revision: 1.2 $ $Date: 2001/07/22 20:25:13 $
作成者:
Remy Maucherat

コンストラクタの概要
MD5Encoder()
           
 
メソッドの概要
 java.lang.String encode(byte[] binaryData)
          Encodes the 128 bit (16 bytes) MD5 into a 32 character String.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MD5Encoder

public MD5Encoder()
メソッドの詳細

encode

public java.lang.String encode(byte[] binaryData)
Encodes the 128 bit (16 bytes) MD5 into a 32 character String.
パラメータ:
binaryData - Array containing the digest
戻り値:
Encoded MD5, or null if encoding failed


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.