com.JRcServer.commons.conv
クラス MD5

java.lang.Object
  上位を拡張 com.JRcServer.commons.conv.MD5

public class MD5
extends java.lang.Object

バイナリ情報をMD5に変換.

バイナリ情報をMD5に変換します.

導入されたバージョン:
JRcCommons 1.00
バージョン:
1.00, 2005/04/21
作成者:
Masahito Suzuki

メソッドの概要
static java.lang.String convert(byte[] bin)
          バイナリ情報をMD5に変換します.
static java.lang.String convert(byte[] bin, int length)
          バイナリ情報をMD5に変換します.
static java.lang.String convert(byte[] bin, int offset, int length)
          バイナリ情報をMD5に変換します.
static byte[] convert(java.io.InputStream stream)
          バイナリ情報をMD5に変換します.
static byte[] convertBinary(byte[] bin)
          バイナリ情報をMD5に変換します.
static byte[] convertBinary(byte[] bin, int length)
          バイナリ情報をMD5に変換します.
static byte[] convertBinary(byte[] bin, int offset, int length)
          バイナリ情報をMD5に変換します.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

convert

public static final byte[] convert(java.io.InputStream stream)
                            throws InputException
バイナリ情報をMD5に変換します.

バイナリ情報をMD5に変換します.

パラメータ:
bin - 変換対象のバイナリ情報を設定します.
offset - 変換対象バイナリの変換オフセット値を設定します.
length - 変換対象バイナリの変換長を設定します.
戻り値:
byte[] 変換されたMD5情報が返されます.
例外:
InputException - 入力例外.

convertBinary

public static final byte[] convertBinary(byte[] bin)
                                  throws InputException
バイナリ情報をMD5に変換します.

バイナリ情報をMD5に変換します.

パラメータ:
bin - 変換対象のバイナリ情報を設定します.
戻り値:
byte[] 変換されたMD5情報が返されます.
例外:
InputException - 入力例外.

convertBinary

public static final byte[] convertBinary(byte[] bin,
                                         int length)
                                  throws InputException
バイナリ情報をMD5に変換します.

バイナリ情報をMD5に変換します.

パラメータ:
bin - 変換対象のバイナリ情報を設定します.
length - 変換対象バイナリの変換長を設定します.
戻り値:
byte[] 変換されたMD5情報が返されます.
例外:
InputException - 入力例外.

convertBinary

public static final byte[] convertBinary(byte[] bin,
                                         int offset,
                                         int length)
                                  throws InputException
バイナリ情報をMD5に変換します.

バイナリ情報をMD5に変換します.

パラメータ:
bin - 変換対象のバイナリ情報を設定します.
offset - 変換対象バイナリの変換オフセット値を設定します.
length - 変換対象バイナリの変換長を設定します.
戻り値:
byte[] 変換されたMD5情報が返されます.
例外:
InputException - 入力例外.

convert

public static final java.lang.String convert(byte[] bin)
                                      throws InputException
バイナリ情報をMD5に変換します.

バイナリ情報をMD5に変換します.

パラメータ:
bin - 変換対象のバイナリ情報を設定します.
戻り値:
String 変換されたMD5情報が返されます.
例外:
InputException - 入力例外.

convert

public static final java.lang.String convert(byte[] bin,
                                             int length)
                                      throws InputException
バイナリ情報をMD5に変換します.

バイナリ情報をMD5に変換します.

パラメータ:
bin - 変換対象のバイナリ情報を設定します.
length - 変換対象バイナリの変換長を設定します.
戻り値:
String 変換されたMD5情報が返されます.
例外:
InputException - 入力例外.

convert

public static final java.lang.String convert(byte[] bin,
                                             int offset,
                                             int length)
                                      throws InputException
バイナリ情報をMD5に変換します.

バイナリ情報をMD5に変換します.

パラメータ:
bin - 変換対象のバイナリ情報を設定します.
offset - 変換対象バイナリの変換オフセット値を設定します.
length - 変換対象バイナリの変換長を設定します.
戻り値:
String 変換されたMD5情報が返されます.
例外:
InputException - 入力例外.