获取文件的MD5校验码 @param filePath 文件路径 @return 文件的MD5校验码
(String filePath)
| 1368 | * @return 文件的MD5校验码 |
| 1369 | */ |
| 1370 | public static byte[] getFileMD5(String filePath) throws IOException, NoSuchAlgorithmException { |
| 1371 | File file = ToolStr.isSpace(filePath) ? null : new File(filePath); |
| 1372 | return getFileMD5(file); |
| 1373 | } |
| 1374 | |
| 1375 | /** |
| 1376 | * 获取文件的MD5校验码 |
no test coverage detected