The DES algorithm encodes plaintext by iterating it through 16 identical stages. Before it reaches stage 1 the plaintext goes through an initial permutation. Upon exit from stage 16, it goes through a final permutation to form the ciphertext..
.