Discuss / Python / hashlib作业2

hashlib作业2

Topic source

def login(username, password):

    user = db[username]    

    return user.password == get_md5(password+user.salt)


  • 1

Reply