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
Comparing $2y$ hashes #24
Comments
I'm having same issue with django. Django has |
Exactly the same error with PHP generated hashes. Using |
confirmed. same error |
Manipulate the PHP hash with the following
Works for me. From https://stackoverflow.com/questions/23015043/verify-password-hash-in-nodejs-which-was-generated-in-php |
I have some hashes in my database which were previously created with PHP's bcrypt function.
If I try to run$2y$ versioned hash, it errors with "Invalid salt revision". Would it be possible to support $2y$ hashes instead of just $2a$ ?
bcrypt.compareSync
with the PHP'sThe text was updated successfully, but these errors were encountered: