public class Md5Util extends Object
| Constructor and Description |
|---|
Md5Util() |
| Modifier and Type | Method and Description |
|---|---|
static String |
computeMd5(InputStream is)
compute a hexadecimal, 32-char md5 string for content from a stream.
|
public static String computeMd5(InputStream is) throws NoSuchAlgorithmException, IOException
is - - the stream to read content data fromNoSuchAlgorithmException - - no MD5 Digester in JDKIOException - - cannot read streamIllegalArgumentException - - internal error computing the Md5 Hex StringCopyright © 2014-2015. All Rights Reserved.