erlang-bcrypt
erlang-bcrypt copied to clipboard
Does not support "$2b$"?
Hi!
56> bcrypt:hashpw("12456", "$2b$12$j4P7eTvx7x2F.wj6HORIzetQmoegqZ1xo0B2jo/XNABgN5lMWswMi").
{error,"bcrypt failed"}
The hash string is produced by comeonin
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.