Skip to content

Fix javadoc in Pbkdf2PasswordEncoder #9219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
*
* @author Rob Worsnop
* @author Rob Winch
* @author Loïc Guibert
* @since 4.1
*/
public class Pbkdf2PasswordEncoder implements PasswordEncoder {
Expand Down Expand Up @@ -95,6 +96,7 @@ public Pbkdf2PasswordEncoder(CharSequence secret) {
* {@value #DEFAULT_HASH_WIDTH} bits.
* @param secret the secret
* @param saltLength the salt length (in bytes)
* @since 5.5
*/
public Pbkdf2PasswordEncoder(CharSequence secret, int saltLength) {
this(secret, saltLength, DEFAULT_ITERATIONS, DEFAULT_HASH_WIDTH);
Expand All @@ -120,6 +122,7 @@ public Pbkdf2PasswordEncoder(CharSequence secret, int iterations, int hashWidth)
* @param iterations the number of iterations. Users should aim for taking about .5
* seconds on their own system.
* @param hashWidth the size of the hash (in bits)
* @since 5.5
*/
public Pbkdf2PasswordEncoder(CharSequence secret, int saltLength, int iterations, int hashWidth) {
this.secret = Utf8.encode(secret);
Expand Down