berkutayme/2024-heraklion-git_berk:hashpass
main
@ -25,12 +25,6 @@ def read_pwdb(PWDB_PATH):
pwdb = {}
return pwdb
# def get_salt(username):
# ''' will return a unique variable'''
# salt =
# return salt
def pwhash(password):
hashed_pass = hashlib.sha256(password.encode('utf-8')).hexdigest()