public final class MD5Utils extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
md5(File file)
Gets the MD5 hashcode of a file.
|
static byte[] |
md5(InputStream in)
Gets the MD5 hashcode of an input stream.
|
static byte[] |
md5(String filename)
Gets the MD5 hashcode of a file.
|
public static byte[] md5(String filename) throws IOException
IOExceptionpublic static byte[] md5(File file) throws IOException
IOExceptionpublic static byte[] md5(InputStream in) throws IOException
IOExceptionCopyright © 2016. All rights reserved.