Skip to content
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

Fix issue 24 (https://github.com/Password4j/password4j/issues/24) #25

Merged
merged 3 commits into from
Feb 4, 2021

Conversation

dpatriarche
Copy link

@dpatriarche dpatriarche commented Feb 4, 2021

Add optional derivedKeyLength parameter (dkLen) to SCryptFunction

When checking scrypt hash, respect the input hash's derived key length
When checking bcrypt, scrypt, argon2, and compressed pkdf2 hashes, accept "non-standard" parameters
Revert changes to HashChecker
Add optional derivedKeyLength parameter (dkLen) to SCryptFunction
@dpatriarche
Copy link
Author

I have updated the PR based on your feedback.

@firaja firaja linked an issue Feb 4, 2021 that may be closed by this pull request
@firaja firaja merged commit c52c438 into Password4j:master Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SCryptFunction.check() should honor derived0.length
2 participants