linkkf 로직수정중

This commit is contained in:
2025-12-25 19:42:32 +09:00
parent 695d26767e
commit af9a38a973
128 changed files with 8711 additions and 1484 deletions

View File

@@ -1,6 +1,7 @@
import base64
from Crypto.Cipher import AES
from Crypto import Random
from Crypto.Cipher import AES
from framework import app, logger
BS = 16
@@ -13,8 +14,8 @@ class ToolAESCipher(object):
def encrypt(raw, mykey=None):
try:
Random.atfork()
except Exception as exception:
logger.error('Exception:%s', exception)
except Exception as e:
logger.error(f"Exception:{str(e)}")
logger.error(traceback.format_exc())
raw = pad(raw)