There doesn't have to be a encode/decode function, but only a function which creates a HASH of the log files, and which can be used by MsgPlus to see if the log files are changed or not (because if somebody would change the log files, the HASH will change as well)...
I made a program for the game Call of Duty which allows you to keep statistics. It sends these statistics unencrypted to a server, but it also includes a (unknown to the public) HASH which rejects the statistics if they have changed by the user him/herself...