ORMappingConfig is now provided by the datasource component.
[utils] / security / src / main / java / org / wamblee / security / encryption / Md5HexMessageDigester.java
index 180a9a3a3d00d5102bd8065b5dfd522e30baf370..161b652e1ddc81cbc3a6e31728e0f3f9d11addf7 100644 (file)
@@ -45,7 +45,7 @@ public class Md5HexMessageDigester implements MessageDigester {
         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????");