public class MD5Checksum extends Object
Constructor and Description |
---|
MD5Checksum() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
createChecksum(InputStream in) |
static byte[] |
createChecksum(String filename) |
static String |
getMD5Checksum(byte[] b) |
static String |
getMD5Checksum(InputStream in) |
static String |
getMD5Checksum(String filename) |
public static byte[] createChecksum(InputStream in) throws NoSuchAlgorithmException, IOException
NoSuchAlgorithmException
IOException
public static byte[] createChecksum(String filename) throws NoSuchAlgorithmException, FileNotFoundException, IOException
public static String getMD5Checksum(String filename) throws NoSuchAlgorithmException, FileNotFoundException, IOException
public static String getMD5Checksum(InputStream in) throws NoSuchAlgorithmException, IOException
NoSuchAlgorithmException
IOException
public static String getMD5Checksum(byte[] b)
Copyright © 2016 Metron, Inc.. All rights reserved.