九州体育网 - 十年信誉网站

关于作者

Discuss / Python / 交作业

交作业

Topic source

木白FREESTEP

#1 Created at ...

def login(username, password): user = db[username] return user.password == hmac.new(bytes(user.key, 'utf-8'), bytes(password, 'utf-8'), digestmod='MD5').hexdigest()


  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.