http://qs1969.pair.com?node_id=928177

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

All: I'm trying to create a "multiplayer" game. Multiplayer meaning we both have the same script on our computer and we send a txt file back and forth to record the events.

I need a way to save data as something other than text. I don't need full blown encryption but something that a human can't read and cheat because the game will then read that text file. A few years ago I saw a code that converted everything to 1s and 0s and it was easy to encode and decode from that but I can't find it.

The data will be strings of text, not just integers. Can someone help me find a simple way to make the text unreadable by human eyes but easy enough the script can do it on the fly?