first commit

This commit is contained in:
2024-07-02 13:54:57 +08:00
commit 04a83926d7
112 changed files with 13631 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
from django.conf import settings
import hashlib
def md5(data_string):
obj = hashlib.md5(settings.SECRET_KEY.encode('utf-8'))
obj.update(data_string.encode('utf-8'))
return obj.hexdigest()