Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
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 © 2000–2016 AO Industries, Inc.. All rights reserved.