Administrator
2024-07-05 fff93bdb882a8c40229b17c96c3808426a80d46c
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()