Notice the symmetry between the two functions. The scrambling mask, 0xaa or 10101010 in binary, makes the transformation
simple to understand but not secure. A secure encryption mechanism can be
significantly more complicated.