Using bcrypt to encrypt a password