Administrator
2024-10-30 173a8ace6fd8142a8e2ff62c3b496940c5f603cd
1
2
3
4
5
6
7
import hashlib
 
 
def md5_encrypt(value):
    md5 = hashlib.md5()
    md5.update(value.encode('utf-8'))
    return md5.hexdigest()