Skip to content

Commit 11bec09

Browse files
committed
Escape attribute failures in Password4j docs
Issue gh-17706
1 parent c18aff7 commit 11bec09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/modules/ROOT/pages/features/authentication/password-storage.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ This provides an alternative to Spring Security's built-in `Pbkdf2PasswordEncode
605605

606606
PBKDF2 is a key derivation function designed to be computationally expensive to thwart dictionary and brute force attacks.
607607
This implementation handles salt management explicitly since Password4j's PBKDF2 implementation does not include the salt in the output hash.
608-
The encoded password format is: `{salt}:{hash}` where both salt and hash are Base64 encoded.
608+
The encoded password format is: `+{salt}:{hash}+` where both salt and hash are Base64 encoded.
609609

610610
.Pbkdf2Password4jPasswordEncoder
611611
[tabs]
@@ -646,7 +646,7 @@ The `BalloonHashingPassword4jPasswordEncoder` implementation uses the Balloon ha
646646
Balloon hashing is a memory-hard password hashing algorithm designed to be resistant to both time-memory trade-off attacks and side-channel attacks.
647647

648648
This implementation handles salt management explicitly since Password4j's Balloon hashing implementation does not include the salt in the output hash.
649-
The encoded password format is: `{salt}:{hash}` where both salt and hash are Base64 encoded.
649+
The encoded password format is: `+{salt}:{hash}+` where both salt and hash are Base64 encoded.
650650

651651
.BalloonHashingPassword4jPasswordEncoder
652652
[tabs]

0 commit comments

Comments
 (0)