How would that work? If I have the source code of Starcraft, I can turn on the "Make the whole map visible" variable, and there's nothing whatsoever that encryption can do to prevent that. With closed-source, as far as I know, Blizzard's constant patching makes cheating relatively uncommon on their own servers.
I have an example of OSS software with yet no cheater. Check out xonotic (www.xonotic.org), a heavily modified quake based shooter. They partly implement anti-cheat functionality by more or less shifting tasks from the client side to the server side, making e.g. wallhacks impossible. Also they use encryption for certain packages to prevent them from being tapered with. Aimbots are another thing, but I have yet to see one. I didn't really dig into the security features though, that is just what I picked up by casually browsing the forums...
In general, people sometimes ask this question about FOSS and security. Isn't FOSS bad for security, they say, since attackers can look at your code and find the holes so they can break in? What this assumes is that the holes are inevitable and obvious, and all anyone needs to break in is find them. It turns out that this isn't true, as many security-sensitive open source projects from OpenBSD to Mozilla Firefox have demonstrated. Security holes shouldn't exist; help from the community to prevent this is key. The hope that code will be more secure if we only keep it secret - otherwise known as "security through obscurity" - is a pipe dream.