While working on a homework assignment, I came across an interesting dilemma that I want to delve more into. The question essentially said to flip the first bit in the key string and then see what S boxes it will effect. Then it says to do the same for decryption.
I went through the process of doing this encryption and then decryption and found that each process is the exact opposite. This makes sense logically but I feel like that is not as... secure? Would the S boxes be the exact same in the decryption phase as in the encryption phase just in reverse? Wouldn't there be a way to sense the pattern here? I know DES is not the most secure system anyway but this seems even more unsecured? I'm just a bit confused on how the math from encryption to decryption works. Clearly it isn't linear but it seems like it?