From 799fbb4f2c21163a41709682c0d0711297ca53a8 Mon Sep 17 00:00:00 2001 From: yuqin <1627766274@qq.com> Date: Wed, 9 Jun 2021 10:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=86=E7=A0=81=E5=8A=A0=E5=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yipin/liuwanr/util/MD5.java | 3 +++ 1 file changed, 3 insertions(+) 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 {