JohnW63
Am am rather close to finishing my project, but I have one more question.
What would be the best method to scramble the text output of the plugin ? I don't want the users to be able to read it, when it is done, so they aren't able to edit it and bypass my race checks. I thought about changing the output as it is created, but I would have to make changes through out the plugin to mix it all up. I thought about only scrambling the important data and leaving some of the default output like " Starting Session " alone. Finally, I wondered about closing the file at the end, reopening it and altering the text as a whole, as I write it back out, the last time.
There aren't any built in C++ functions to alter stuff in a way that I could quickly unscramble it, once the players send me their files. I thought about simply changing the data types in the fprintf calls so it is put out "wrong" and then fix it after I get it.
What's the best way to approach this ?
What would be the best method to scramble the text output of the plugin ? I don't want the users to be able to read it, when it is done, so they aren't able to edit it and bypass my race checks. I thought about changing the output as it is created, but I would have to make changes through out the plugin to mix it all up. I thought about only scrambling the important data and leaving some of the default output like " Starting Session " alone. Finally, I wondered about closing the file at the end, reopening it and altering the text as a whole, as I write it back out, the last time.
There aren't any built in C++ functions to alter stuff in a way that I could quickly unscramble it, once the players send me their files. I thought about simply changing the data types in the fprintf calls so it is put out "wrong" and then fix it after I get it.
What's the best way to approach this ?