There are different variations of these tricks, one can read more and more about such ideas as confusion and diffusion, and about how can they be matched to build more powerful and complex encryption systems, or reading the tools that are used to deceive intrusion detection systems of the Internet.