Commit ca32a54d authored by 张永's avatar 张永

加个打印

parent a2463789
...@@ -940,6 +940,7 @@ public class StringUtil { ...@@ -940,6 +940,7 @@ public class StringUtil {
public static String toMD5HexString(String text) { public static String toMD5HexString(String text) {
try { try {
System.out.println("toMD5HexString ---"+text);
return StringUtil.encodeHexString(MessageDigest.getInstance("MD5").digest(text.getBytes())).toUpperCase(); return StringUtil.encodeHexString(MessageDigest.getInstance("MD5").digest(text.getBytes())).toUpperCase();
} catch (Exception e) { } catch (Exception e) {
throw new MD5Exception(e); throw new MD5Exception(e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment