Erlang wrapper for OpenBSD's Blowfish password hashing code
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
dcy opened this issue 7 years ago · comments
Hi!
56> bcrypt:hashpw("12456", "$2b$12$j4P7eTvx7x2F.wj6HORIzetQmoegqZ1xo0B2jo/XNABgN5lMWswMi"). {error,"bcrypt failed"}
The hash string is produced by comeonin
hash string
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.
$2b$
$2b
$2y