摘要: # 加密模块import hashlibm = hashlib.md5() #模块下的md5方法password = '1024女神'm.update(password.encode())#不能直接对字符串加密,要先转成bytes类型,用.encode()print(m.hexdigest()) # 阅读全文
posted @ 2018-06-17 10:17 1024女神 阅读(179) 评论(0) 推荐(0)