@Test void testComputeFileChecksum() throws Exception { assertEquals("439B99DFFD0583200D5D21F4CD1BF035", DigestHelper.computeFileChecksum(Paths.get("src/test/resources/org/cloudfoundry/multiapps/common/util/web.zip"), "MD5")); }
public static String computeFileChecksum(Path file, String algorithm) throws NoSuchAlgorithmException, IOException { return DatatypeConverter.printHexBinary(computeFileCheckSumBytes(file, algorithm)); }
DigestHelper { public static String computeFileChecksum(Path file, String algorithm) throws NoSuchAlgorithmException, IOException { return DatatypeConverter.printHexBinary(computeFileCheckSumBytes(file, algorithm)); } }
DigestHelper { public static String computeFileChecksum(Path file, String algorithm) throws NoSuchAlgorithmException, IOException { return DatatypeConverter.printHexBinary(computeFileCheckSumBytes(file, algorithm)); } private  DigestHelper(); }
DigestHelper { public static String computeFileChecksum(Path file, String algorithm) throws NoSuchAlgorithmException, IOException { return DatatypeConverter.printHexBinary(computeFileCheckSumBytes(file, algorithm)); } private  DigestHelper(); static String computeFileChecksum(Path file, String algorithm); static String computeDirectoryCheckSum(Path filePath, String algorithm); }
DigestHelper { public static String computeFileChecksum(Path file, String algorithm) throws NoSuchAlgorithmException, IOException { return DatatypeConverter.printHexBinary(computeFileCheckSumBytes(file, algorithm)); } private  DigestHelper(); static String computeFileChecksum(Path file, String algorithm); static String computeDirectoryCheckSum(Path filePath, String algorithm);  }