password_hashers_7.py 187 B

12345
  1. def hashPassword(self, password):
  2. """
  3. Return a hashed version of password using bcrypt
  4. """
  5. return self.bcrypt.hashpw(password, self.storage['bcrypt_salt'])