AES vs DES

DES (Data Encryption Standard) and AES (Advanced Encryption Standard) both are the symmetric block cipher. AES was introduced to overcome the drawback of DES. As DES has a smaller key size which makes it less secure to overcome this triple DES was introduced but it turns out to be slower. Hence, later AES was introduced by the National Institute of Standard and Technology. The basic difference between DES and AES is that in DES plaintext block is divided into two halves before the main algorithm starts whereas, in AES the entire block is processed to obtain the ciphertext.



Key Differences Between DES and AES.
  1. The basic difference between DES and AES is that the block in DES is divided into two halves before further processing whereas, in AES entire block is processed to obtain ciphertext.
  2. The DES algorithm works on the Feistel Cipher principle, and the AES algorithm works on substitution and permutation principle.
  3. The key size of DES is 56 bit which is comparatively smaller than AES which has 128,192, or 256-bit secret key.
  4. The rounds in DES include Expansion Permutation, Xor, S-box, P-box, Xor and Swap. On the other hands, rounds in AES include Subtitutebytes, Shiftrows, Mix columns, Addroundkeys.
  5. DES is less secure than AES because of the small key size.
  6. AES is comparatively faster than DES.

Conclusion:

DES is the older algorithm and AES is the advanced algorithm which is faster and more secure than DES.

Comments

Popular posts from this blog

Process Vs Thread

Reasoning Vs Inference

Frame vs Packet