Administrator
2024-02-27 64acc2bcd5e531f02be2da919e97b7af6bc86e4a
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()