MCPcopy Create free account
hub / github.com/core-lib/xjar / md5

Method md5

src/main/java/io/xjar/XKit.java:365–371  ·  view source on GitHub ↗
(File file)

Source from the content-addressed store, hash-verified

363 }
364
365 public static byte[] md5(File file) throws IOException {
366 try {
367 return hash(file, MessageDigest.getInstance("MD5"));
368 } catch (NoSuchAlgorithmException e) {
369 throw new IOException(e);
370 }
371 }
372
373 public static byte[] sha1(File file) throws IOException {
374 try {

Callers 1

makeMethod · 0.95

Calls 1

hashMethod · 0.95

Tested by

no test coverage detected