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

Does not support "$2b$"? #28

Open
dcy opened this issue Dec 12, 2017 · 1 comment
Open

Does not support "$2b$"? #28

dcy opened this issue Dec 12, 2017 · 1 comment

Comments

@dcy
Copy link

dcy commented Dec 12, 2017

Hi!

56> bcrypt:hashpw("12456", "$2b$12$j4P7eTvx7x2F.wj6HORIzetQmoegqZ1xo0B2jo/XNABgN5lMWswMi"). 
{error,"bcrypt failed"}

The hash string is produced by comeonin

@lenaw
Copy link

lenaw commented Jun 24, 2021

I am also trapped by this because I didn't know it does not supports $2b$, luckily I found one fork that has support for both $2b and $2y, comment here in case someone is also looking for a fix.

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