-
Notifications
You must be signed in to change notification settings - Fork 6k
Add Argon2PasswordEncoder #7045
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
Conversation
@simmac Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@simmac Thank you for signing the Contributor License Agreement! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @simmac! I have provided some minor comments inline.
crypto/src/main/java/org/springframework/security/crypto/argon2/Argon2EncodingUtils.java
Outdated
Show resolved
Hide resolved
crypto/src/main/java/org/springframework/security/crypto/argon2/Argon2PasswordEncoder.java
Outdated
Show resolved
Hide resolved
crypto/src/test/java/org/springframework/security/crypto/argon2/Argon2EncodingUtilsTests.java
Outdated
Show resolved
Hide resolved
crypto/src/test/java/org/springframework/security/crypto/argon2/Argon2EncodingUtilsTests.java
Outdated
Show resolved
Hide resolved
crypto/src/test/java/org/springframework/security/crypto/argon2/Argon2PasswordEncoderTests.java
Outdated
Show resolved
Hide resolved
sorry for the delay. |
The code looks great now. One last request. Can you please add some documentation in https://github.com/spring-projects/spring-security/blob/c05b0765c1741eaaa237ed58cb72cd57385a173a/docs/manual/src/docs/asciidoc/_includes/servlet/architecture/password-encoder.adoc#bcryptpasswordencoder Please:
|
Add PasswordEncoder for the Argon2 hashing algorithm (Password Hashing Competition (PHC) winner). This implementation uses the BouncyCastle-implementation of Argon2. Fixes gh-5354
Done @rwinch, hope this is sufficient |
Thanks for all your hard work on this @simmac! This is now in master |
Hi, |
Add PasswordEncoder for the Argon2 hashing algorithm (Password Hashing
Competition (PHC) winner).
This implementation uses the BouncyCastle-implementation of Argon2.
Fixes gh-5354