diff --git a/src/main/java/com/yipin/liuwanr/util/MD5.java b/src/main/java/com/yipin/liuwanr/util/MD5.java index 5cfce04..9177154 100644 --- a/src/main/java/com/yipin/liuwanr/util/MD5.java +++ b/src/main/java/com/yipin/liuwanr/util/MD5.java @@ -4,6 +4,9 @@ import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public final class MD5 { + public static void main(String[] args) { + System.out.println(encrypt("admin")); + } public static String encrypt(String strSrc) { try {