From 0d107d8212989358d7fb23cdda739986d6d67f4e Mon Sep 17 00:00:00 2001 From: smallchill Date: Fri, 13 Mar 2020 19:48:08 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=8A=A0=E5=AF=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/springblade/auth/support/BladePasswordEncoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blade-auth/src/main/java/org/springblade/auth/support/BladePasswordEncoder.java b/blade-auth/src/main/java/org/springblade/auth/support/BladePasswordEncoder.java index 43b46b81..c226b93a 100644 --- a/blade-auth/src/main/java/org/springblade/auth/support/BladePasswordEncoder.java +++ b/blade-auth/src/main/java/org/springblade/auth/support/BladePasswordEncoder.java @@ -28,7 +28,7 @@ public class BladePasswordEncoder implements PasswordEncoder { @Override public String encode(CharSequence rawPassword) { - return DigestUtil.encrypt((String) rawPassword); + return DigestUtil.hex((String) rawPassword); } @Override