Administrator
2024-04-24 b9d6b9fb8ae9ea63a88c639acac4358e0c32708a
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()