The decrypt method needs to be public so I can analyze packet dumps.

This commit is contained in:
Greg Edwards
2015-01-23 20:36:39 -05:00
parent 1786967409
commit e1ded10373

View File

@@ -281,7 +281,7 @@ namespace GamestatsBase
/// The PID (little endian) is left at the start of the output
/// but the (unencrypted) checksum is removed.
/// </summary>
private byte[] DecryptData(String data)
public byte[] DecryptData(String data)
{
byte[] data2 = FromUrlSafeBase64String(data);
if (RequestVersion == GamestatsRequestVersions.Version1) return data2;