@Test public void md5IsIdenticalforIdenticalInput() { String checksum1 = MD5Checksum.getMD5Checksum(INPUT); String checksum2 = MD5Checksum.getMD5Checksum(INPUT); assertTrue("The same input produces the same digest",checksum1.equals(checksum2)); }
public static String getMD5Checksum(String input) { return DigestUtils.md5Hex(input); }
MD5Checksum { public static String getMD5Checksum(String input) { return DigestUtils.md5Hex(input); } }
MD5Checksum { public static String getMD5Checksum(String input) { return DigestUtils.md5Hex(input); }  }
MD5Checksum { public static String getMD5Checksum(String input) { return DigestUtils.md5Hex(input); }  static byte[] createChecksum(String input); static String getMD5Checksum(String input); }
MD5Checksum { public static String getMD5Checksum(String input) { return DigestUtils.md5Hex(input); }  static byte[] createChecksum(String input); static String getMD5Checksum(String input);  }