mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-29 03:56:43 +08:00
refactor: reorganize backend module boundaries
This commit is contained in:
@@ -91,8 +91,7 @@ class RSAUtils:
|
||||
)
|
||||
|
||||
return message == decrypted_message
|
||||
except Exception as e:
|
||||
print(f"RSA 密钥验证失败: {e}")
|
||||
except Exception:
|
||||
return False
|
||||
|
||||
|
||||
@@ -142,7 +141,6 @@ class HashUtils:
|
||||
class CryptoJsUtils:
|
||||
"""兼容 CryptoJS OpenSSL 格式的 AES 加解密工具。"""
|
||||
|
||||
|
||||
@staticmethod
|
||||
def bytes_to_key(data: bytes, salt: bytes, output=48) -> bytes:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user