public class Md5Utils
extends java.lang.Object
| コンストラクタと説明 |
|---|
Md5Utils() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static byte[] |
computeMD5Hash(byte[] data)
Computes the MD5 hash of the given data and returns it as an array of
bytes.
|
static byte[] |
computeMD5Hash(java.io.InputStream is)
Computes the MD5 hash of the data in the given input stream and returns
it as an array of bytes.
|
public static byte[] computeMD5Hash(java.io.InputStream is)
throws java.security.NoSuchAlgorithmException,
java.io.IOException
java.security.NoSuchAlgorithmExceptionjava.io.IOExceptionpublic static byte[] computeMD5Hash(byte[] data)
throws java.security.NoSuchAlgorithmException,
java.io.IOException
java.security.NoSuchAlgorithmExceptionjava.io.IOException