miui-auto-tasks/passwd2md5.py
TardisX 6216a14f01
MIUI Task_v1.1.0 (#1)
* MIUI Task_v1.1.0

* Create passwd2md5.py

* Update README.md
2021-08-16 18:14:17 +08:00

9 lines
223 B
Python

from hashlib import md5
mipasswd = 'mypassword'
# 请将"mypassword"改为你的小米账号密码
md5_mipasswd = md5(mipasswd.encode('utf8')).hexdigest()
# 利用hashlib模块本地计算md5
print(md5_mipasswd)
# 输出