diff --git a/SPHDecode/Implementations/Cryptography.cs b/SPHDecode/Implementations/Cryptography.cs index 135a469..f714071 100644 --- a/SPHDecode/Implementations/Cryptography.cs +++ b/SPHDecode/Implementations/Cryptography.cs @@ -23,13 +23,15 @@ public static byte[] Decrypt(byte[] clearText) byte[] data; try { data = AESHelper(V3KEY, V3IV, clearText, true); + response = Zlib.DecompressData(data); } catch (Exception) { data = AESHelper(V2KEY, V2IV, clearText, true); + response = Zlib.DecompressData(data); } - response = Zlib.DecompressData(data); + } catch (Exception ex) {