shaneMangudi / bcrypt-nodejs

Native implementation of bcrypt for NodeJS
Other
574 stars 69 forks source link

$2a$15 hashes generated externally. #31

Open athalius opened 10 years ago

athalius commented 10 years ago

The following returns false:

bCrypt.compareSync("password", '$2a$15$ffzqFYmu/xA8icbTxe1vW.GDqKJx2UA7A9hlH6AS7PAf3HMrrAd52')

it should return true. ( eg http://fpirsch.github.io/twin-bcrypt/ , my internal system where I originally generated the hash, and https://www.dailycred.com/blog/12/bcrypt-calculator all return "hash matches string")