try {
MessageDigest digest = MessageDigest.getInstance("MD5");
byte[] result = digest.digest(aValue.getBytes());
- char[] charResult = new Hex().encodeHex(result);
+ char[] charResult = Hex.encodeHex(result);
return new String(charResult);
} catch (NoSuchAlgorithmException e) {
throw new IllegalArgumentException("MD5 not supported????");