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

Adding support for needsRehash #12

Open
thetutlage opened this issue Jun 23, 2019 · 0 comments
Open

Adding support for needsRehash #12

thetutlage opened this issue Jun 23, 2019 · 0 comments

Comments

@thetutlage
Copy link

thetutlage commented Jun 23, 2019

First of all, it is a great, well written project. Thanks 🙏

Since uphash has the params and version information, I was thinking, if we should add support for needsRehash function, that returns a boolean, if the config values are different from the encoded values. PHP already does the same.

Ideally the function will be added to the underlying libraries @phc/bcrypt, @phc/argon2 and I am happy to work on the PR, if you think we should add it

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

No branches or pull requests

1 participant