Administrator
2023-07-27 355f76dad0a8a6948d71462cfc6e59866ad6183e
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()