Administrator
2024-09-12 a6db14d8bf83be51d61b285a86f16ffe7b4ce5cf
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()