md5->_md5

This commit is contained in:
Womsxd 2022-11-03 08:37:17 +08:00
parent ab1d834698
commit bc9c05e6d6
No known key found for this signature in database
GPG Key ID: 0FE76418EE689B68

View File

@ -9,9 +9,9 @@ import setting
# md5计算
def md5(text: str) -> str:
md5 = hashlib.md5()
md5.update(text.encode())
return md5.hexdigest()
_md5 = hashlib.md5()
_md5.update(text.encode())
return _md5.hexdigest()
# 随机文本