import hashlib def login(user, password): md5 = hashlib.md5() md5.update(password.encode('utf-8')) if md5.hexdigest() == db[user]: return True else: return False
Sign in to make a reply
Chris_Gardner_II