You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `BCryptPasswordEncoder` implementation uses the widely supported https://en.wikipedia.org/wiki/Bcrypt[bcrypt] algorithm to hash the passwords.
273
273
In order to make it more resistent to password cracking, bcrypt is deliberately slow.
274
274
Like other adaptive one-way functions, it should be tuned to take about 1 second to verify a password on your system.
275
+
The default implementation of `BCryptPasswordEncoder` uses strength 10 as mentioned on the Javadoc of https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/crypto/bcrypt/BCryptPasswordEncoder.html[BCryptPasswordEncoder]. Your are encouagred to
276
+
tune and test the strength parameter on your own system so that it take roughly 1 second to verify a password.
0 commit comments