Skip to content

Commit 258bd8f

Browse files
mengelbrechtrwinch
authored andcommitted
Fix typos in BCryptPasswordEncoder documentation
Closes gh-8586
1 parent 3073618 commit 258bd8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/manual/src/docs/asciidoc/_includes/about/authentication/password-storage.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ https://docs.spring.io/spring-security/site/docs/5.0.x/api/org/springframework/s
272272
The `BCryptPasswordEncoder` implementation uses the widely supported https://en.wikipedia.org/wiki/Bcrypt[bcrypt] algorithm to hash the passwords.
273273
In order to make it more resistent to password cracking, bcrypt is deliberately slow.
274274
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.
275+
The default implementation of `BCryptPasswordEncoder` uses strength 10 as mentioned in the Javadoc of https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/crypto/bcrypt/BCryptPasswordEncoder.html[BCryptPasswordEncoder]. You are encouraged to
276+
tune and test the strength parameter on your own system so that it takes roughly 1 second to verify a password.
277277

278278
[source,java]
279279
----

0 commit comments

Comments
 (0)