mirror of
https://github.com/0-8-4/miui-auto-tasks.git
synced 2024-11-16 12:51:36 +00:00
6216a14f01
* MIUI Task_v1.1.0 * Create passwd2md5.py * Update README.md
9 lines
223 B
Python
9 lines
223 B
Python
from hashlib import md5
|
|
|
|
mipasswd = 'mypassword'
|
|
# 请将"mypassword"改为你的小米账号密码
|
|
md5_mipasswd = md5(mipasswd.encode('utf8')).hexdigest()
|
|
# 利用hashlib模块本地计算md5
|
|
print(md5_mipasswd)
|
|
# 输出
|