bcrypt.js icon indicating copy to clipboard operation
bcrypt.js copied to clipboard

Issue with test.js line 182

Open WebMatrixware opened this issue 6 years ago • 0 comments

For some reason salt2 used in the first roundsOOB test (lines 179 - 182) uses bcrypt as well as bcrypt.js and compares them. This results in an issue since bcrypt returns a salt with type of 2b while bcrypt.js returns a salt with type 2a. Oddly, in the following 2 tests both salt1 and salt2 use the bcrypt.js library.... so what is the real intent here?

WebMatrixware avatar Aug 13 '19 19:08 WebMatrixware