In: Computer Science
What is the main difference between the Symmetric-Key Cryptosystem and the Public-key cryptosystem? Please give the main differences of the following different encryption cryptosystems: the Block Ciphers DES and AES, Hash functions and the RSA cryptosystem and the EIGamal cryptosystem.
Difference between Symmetric Key and Public-Key Cryptosystems:-
Symmetric key cryptography is also known as shared key cryptography. As the name suggests, it involves 2 people using the same private key to both encrypt and decrypt information.
Public-key cryptography, on the other hand, is where 2 different keys are used – a public key for encryption and a private key for decryption.
Difference between Block Ciphers DES and AES:-
AES | DES |
AES stands for Advanced Encryption Standard | DES stands for Data Encryption Standard |
Key length can be of 128-bits, 192-bits and 256-bits. | Key length is 56 bits in DES. |
Number of rounds depends on key length: 10(128-bits), 12(192-bits) or 14(256-bits) | DES involves 16 rounds of identical operations |
The structure is based on a substitution-permutation network. | The structure is based in Feistel network. |
AES is more secure than the DES cipher and is the de facto world standard. | DES can be broken easily as it has known vulnerabilities. 3DES(Triple DES) is a variation of DES which is secure than the usual DES. |
The rounds in AES are: Byte Substitution, Shift Row, Mix Column and Key Addition | The rounds in DES are: Expansion, XOR operation with round key, Substitution and Permutation |
AES can encrypt 128 bits of plaintext. | DES can encrypt 64 bits of plaintext. |
AES cypher is derived from the square cipher. | DES cipher is derived from Lucifer cipher. |
AES was designed by Vincent Rijmen and Joan Daemen. | DES was designed by IBM. |
No known crypt-analytical attacks against AES but side-channel attacks against AES implementations possible. Biclique attack has better complexity than brute-force but still ineffective. | Known attacks against DES include Brute-force, Linear crypt-analysis and Differential crypt-analysis. |
Difference between RSA and ElGamal:-