fix(types): type Ugreen decrypted text

This commit is contained in:
jxxghp
2026-10-17 07:31:00 +08:00
parent 5e18f7076a
commit 0f4ca3ffbe

View File

@@ -125,7 +125,8 @@ class UgreenCrypto:
encrypted = raw[12:]
cipher = AESGCM(aes_key.encode("utf-8"))
plain = cipher.decrypt(iv, encrypted, None)
return plain.decode("utf-8")
decoded: str = plain.decode("utf-8")
return decoded
@staticmethod
def build_security_key(token: str) -> str: