public class Md5Utils extends 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(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(InputStream is) throws NoSuchAlgorithmException, IOException
public static byte[] computeMD5Hash(byte[] data)
throws NoSuchAlgorithmException,
IOException
Copyright © 2016. All rights reserved.