refactors to bcrypt-nodejs from bcrypt