We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The salt with 31 rounds is insecure. The bitwise shift here:
bcrypt.js/src/bcrypt/impl.js
Line 409 in d5d4615
Will result in -2147483648 not 2147483648. So this: https://github.com/dcodeIO/bcrypt.js/blob/d5d46150e9da7d15d3f70fd97649e923d95013af/src/bcrypt/impl.js will never run.
Pull request #24
The text was updated successfully, but these errors were encountered:
dd6eaf7
Merge commit 'dd6eaf724afc72618126782de8dfb061c1a5ae90'
4643fe7
* commit 'dd6eaf724afc72618126782de8dfb061c1a5ae90': Prevent integer wrap-around with 31 rounds, fixes dcodeIO#24, fixes dcodeIO#25 Conflicts: dist/bcrypt.js dist/bcrypt.min.js dist/bcrypt.min.map src/bcrypt/impl.js
No branches or pull requests
The salt with 31 rounds is insecure. The bitwise shift here:
bcrypt.js/src/bcrypt/impl.js
Line 409 in d5d4615
Will result in -2147483648 not 2147483648. So this:
https://github.com/dcodeIO/bcrypt.js/blob/d5d46150e9da7d15d3f70fd97649e923d95013af/src/bcrypt/impl.js
will never run.
Pull request #24
The text was updated successfully, but these errors were encountered: