dcodeIO / bcrypt.js

Optimized bcrypt in plain JavaScript with zero dependencies.
Other
3.47k stars 264 forks source link

Password and hash does not match #75

Closed seyedjafariy closed 6 years ago

seyedjafariy commented 6 years ago

everything works fine and compare func does the job.

yet on this occasion, it will return wrong result and says pass and hash do not match, I have tried my strings with online checkers like this one and its a pass there.

please tell me how to fix it. strangely the returned error is undefined.

password: T32NizM5593ecbdd5b7ae6045e7ebffc4c510975d663b99c4163905314cf28f06c24c4c172b27045d47031340ad1bfceaf944fdf96b0bc4b101c631c8cacbddf5000001fcfb363d829ffde9d4ad56ffa6e95e78c08ac1acT32NizM5comments{"rel_id":"11","page":"1","type":"game","per_page":"10"}T32NizM5

hash: $2a$04$xmgwC6HMDLcHSGJo8fv3UubxlEpDsCvVhtNC2bc6P.ABIc2xFjaKq

seyedjafariy commented 6 years ago

wrongly made this issue on this repo

I meant it for another one

sorry for the mistake