Administrator
2024-04-18 eb106c82e31fd1c68bf7c95156940d07ea04b9d6
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()