password_hashers_8.py 161 B

12345
  1. def hashPassword(self, password):
  2. """
  3. Return a hashed version of password using SHA
  4. """
  5. return hashlib.sha1(password).hexdigest()