Administrator
2023-11-23 01ad051f37d35cd4b62f4a190b10fcbc8e173351
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()