随笔分类 -  Python_Md5 加密

摘要:# !/usr/bin/env python # -*- coding:utf8 -*- import hashlib def login(username, pwd): with open("user.db", 'r', encoding='utf-8') as f: while True: li 阅读全文
posted @ 2021-02-14 21:46 xuwenwei 阅读(71) 评论(0) 推荐(0)
摘要:import hashlib hash = hashlib.md5(bytes('88888', encoding='utf-8')) hash.update(bytes('1235678', encoding='utf-8')) print(hash.hexdigest()) 阅读全文
posted @ 2021-02-14 20:19 xuwenwei 阅读(26) 评论(0) 推荐(0)