Administrator
2023-08-01 9f3c35b90dba12d2b746e121fc807a8c8c7da529
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()