Website to manage tibia accounts and characters
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

utils.py 216B

123456789
  1. import hashlib
  2. class LoginHelper(object):
  3. @staticmethod
  4. def hash_password(password):
  5. hashed_password = hashlib.sha1(password.encode('utf-8'))\
  6. .hexdigest()
  7. return hashed_password