Administrator
2023-12-13 11a349588bd3a277ef87ff186cb338093c7287f3
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()