20-01-2008, 12:00 AM
I probably would never use any encryption on a packet that results in inflation. One example is XOR, which is probably also one of the fastest encryptions. Another is RC4 which is used in SSL and WEP. Though, of course, these are not as secure, but there are plenty others out there. But packet encryption is never something you want to worry about too much - even XOR will hold off tons of people. The most important thing about packet encryption is to randomize the packets so encrypting packet A twice will result in two different packets. This can be done with rotating keys, or if you want to add inflation, rotating salts.