diff --git a/src/com/olxpbenchmark/util/StringUtil.java b/src/com/olxpbenchmark/util/StringUtil.java index 72836c7..71d2e68 100644 --- a/src/com/olxpbenchmark/util/StringUtil.java +++ b/src/com/olxpbenchmark/util/StringUtil.java @@ -102,25 +102,6 @@ public static String header(String msg, String marker, int length) { return String.format("%s %s %s%s", border, msg, border, (add_extra ? marker : "")); } - /** - * Return the MD5 checksum of the given string - * - * @param input - * @return - */ - public static String md5sum(String input) { - MessageDigest digest = null; - try { - digest = MessageDigest.getInstance("MD5"); - } catch (NoSuchAlgorithmException ex) { - throw new RuntimeException("Unable to compute md5sum for string", ex); - } - assert (digest != null); - digest.update(input.getBytes()); - BigInteger hash = new BigInteger(1, digest.digest()); - return (hash.toString(16)); - } - /** * Split the multi-lined strings into separate columns *