mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-04 17:52:15 +00:00
Remove double salt in Pbkdf2PasswordEncoder
Issue gh-3930
This commit is contained in:
parent
77a478ba0d
commit
5f658b3ffc
@ -101,7 +101,7 @@ public class Pbkdf2PasswordEncoder implements PasswordEncoder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private byte[] encodeAndConcatenate(CharSequence rawPassword, byte[] salt) {
|
private byte[] encodeAndConcatenate(CharSequence rawPassword, byte[] salt) {
|
||||||
return concatenate(salt, encode(rawPassword, salt));
|
return encode(rawPassword, salt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user