Cryptanalysis and Types of Attacks (original) (raw)

Last Updated : 28 Dec, 2024

**Cryptology has two parts namely, **Cryptography which focuses on creating secret codes and **Cryptanalysis which is the study of the cryptographic algorithm and the breaking of those secret codes. The person practicing Cryptanalysis is called a **Cryptanalyst. It helps us to better understand the cryptosystems and also helps us improve the system by finding any weak point and thus work on the algorithm to create a more secure secret code. For example, a Cryptanalyst might try to decipher a ciphertext to derive the plaintext. It can help us to deduce the plaintext or the encryption key.

Types of attacks include **ciphertext-only attacks, where only encrypted messages are available, **known-plaintext attacks, where both plaintext and ciphertext are known, and **chosen-plaintext/ciphertext attacks, where the attacker can encrypt or decrypt specific data to expose the encryption scheme.

Parts Of Cryptology

To determine the weak points of a cryptographic system, it is important to attack the system. This attacks are called **Cryptanalytic attacks. The attacks rely on nature of the algorithm and also knowledge of the general characteristics of the plaintext, i.e., plaintext can be a regular document written in English or it can be a code written in Java. Therefore, nature of the plaintext should be known before trying to use the attacks.

**Types of Cryptanalytic attacks :

The Five Types of Cryptanalytic Attacks