Java 代码从http/https下载链接中获取文件的MD5值
/** * 从http下载链接中获取文件的MD5值 * @param path * @return * @throws IOException */ public static String getMD5(String path) { String md5Hex = ""; try { URL url = new URL(path); HttpURLConnection conn = (HttpURLConnection)url.openConnec.
原创
2020-12-22 15:10:05 ·
1150 阅读 ·
0 评论