EXAMPLE 15 Encryption Using a Permutation
We use the permutation to encrypt ATTACK AT DAWN. Since involves four integers, our blocks are ATTA CKAT DAWN. Applying to the plaintext, we obtain the ciphertext ATAT TACK NWDA.