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

Why is there a limit on input length? #46

Closed
davemerrill opened this issue Nov 11, 2016 · 2 comments
Closed

Why is there a limit on input length? #46

davemerrill opened this issue Nov 11, 2016 · 2 comments

Comments

@davemerrill
Copy link

The original javascript-bcrypt library on which this is based doesn't have that limitation, as far as I'm aware. None is documented for it that I've seen, and I've tested it successfully with much longer inputs.

Password length is a basic difficulty multiplier for brute force crack attempts, so ideally long passwords are allowed, even encouraged.

@dcodeIO
Copy link
Owner

dcodeIO commented Nov 14, 2016

see also: #15

@davemerrill
Copy link
Author

Apologies for the duplicate issue. I wasn't aware that bCrypt/Blowfish had a max length, many less secure systems don't. Seems unfortunate to me, but I'm sure there must be valid reasons for 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

2 participants