You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the README you say that the bcrypt algorithm only works with passwords that are up to 72 bytes long. And in this stack overflow question I read that in JS a string is a finite ordered sequence of zero or more 16-bit unsigned integer values. If those 72 bytes are 8-bit long does this mean that in my code I have to check password.length > 36?
Bcryptjs doesn't seem to care.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions!
In the README you say that the bcrypt algorithm only works with passwords that are up to 72 bytes long. And in this stack overflow question I read that in JS a string is a finite ordered sequence of zero or more 16-bit unsigned integer values. If those 72 bytes are 8-bit long does this mean that in my code I have to check
password.length > 36
?Bcryptjs doesn't seem to care.
The text was updated successfully, but these errors were encountered: