Skip to content

Commit

Permalink
fix version select
Browse files Browse the repository at this point in the history
  • Loading branch information
Stricted committed Feb 19, 2017
1 parent c923e82 commit f2d2f88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SPHDecode/Implementations/Cryptography.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f2d2f88

Please sign in to comment.