Cleaning up bcrypt() function