mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-02-08 14:34:34 +00:00
Fix Javadoc warnings in Argon2PasswordEncoder
Wrap bit-shift expressions in {@code ...} so that Javadoc does not parse
'<' as HTML and emit invalid input warnings.
Signed-off-by: Jeongwon Been <congcoding@gmail.com>
This commit is contained in:
parent
bf6bed01af
commit
d07d3a13d1
@ -86,7 +86,7 @@ public class Argon2PasswordEncoder extends AbstractValidatingPasswordEncoder {
|
||||
|
||||
/**
|
||||
* Constructs an Argon2 password encoder with a salt length of 16 bytes, a hash length
|
||||
* of 32 bytes, parallelism of 1, memory cost of 1 << 12 and 3 iterations.
|
||||
* of 32 bytes, parallelism of 1, memory cost of {@code 1 << 12} and 3 iterations.
|
||||
* @return the {@link Argon2PasswordEncoder}
|
||||
* @since 5.8
|
||||
* @deprecated Use {@link #defaultsForSpringSecurity_v5_8()} instead
|
||||
@ -98,7 +98,7 @@ public class Argon2PasswordEncoder extends AbstractValidatingPasswordEncoder {
|
||||
|
||||
/**
|
||||
* Constructs an Argon2 password encoder with a salt length of 16 bytes, a hash length
|
||||
* of 32 bytes, parallelism of 1, memory cost of 1 << 14 and 2 iterations.
|
||||
* of 32 bytes, parallelism of 1, memory cost of {@code 1 << 14} and 2 iterations.
|
||||
* @return the {@link Argon2PasswordEncoder}
|
||||
* @since 5.8
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user