uGrounds - Unity Implementation of Newgrounds Encryption for API Access
Explanation:
|
Code Snippet; RC4 Implementation: |
An older version of the Newgrounds API for save games, highscores, custom file databases and medals (achievements) was poorly documented when the website first opened up submissions in Unity and HTML5 formats. The commands for using the suite for AE3 were well-documented; but the notes on accessing the JSON server without that AE3 wrapper were, basically the developer's incomplete notes on his implementation published.
I spent a couple days reading their source; catching their packets to decode them and writing a rudimentary implementation in Unity Javascript to interface with their systems. It tested well and a few other Unity developers used it. The code has fallen into deprecation, because the new version of the Newgrounds API is much more user-friendly and a wrapper script isn't necessary. This was my most significant foray into encryption and network monitoring/packet interception and it was completely self-guided. Full Source and Documentation, BitBucket
|
function EnDeCrypt(text : String) |