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