This website requires JavaScript.
Explore
Help
Register
Sign In
DigitalMgnt
/
usermod
Watch
2
Star
0
Fork
You've already forked usermod
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
59666cfacf
usermod
/
Utils
/
CommonUtils.py
9 lines
118 B
Python
Raw
Normal View
History
Unescape
Escape
项目提交
2023-02-08 14:57:34 +08:00
from
hashlib
import
md5
项目提交
2023-02-07 08:48:41 +08:00
项目提交
2023-02-08 14:57:34 +08:00
# 文件md
def
file_md5
(
body
)
:
md
=
md5
(
)
md
.
update
(
body
)
return
md
.
hexdigest
(
)