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?
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?