SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
William Stallings
Chapter:
Classical Encryption Techniques
Exercise:
Review Questions
Question:5 | ISBN:9781292158587 | Edition: 7

Question

What are the two general approaches to attacking a cipher?

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

In general, the main goal to attack a ciphertext is to find the key used for encryption rather than knowing just plain text.


There are essentially two approaches to attack a ciphertext.


Cryptanalysis:


In cryptanalysis, the attack relies on the nature of the algorithm and maybe having some knowledge on the characteristics of plaintext or maybe having access to a few plaintexts – ciphertext pairs to deduce the key used for the encryption. Basically, they analyze or brainstorm the algorithm in an attempt to find the key being used.


Brute-force attack:


In this type of attack, the attacker tries every possible combination key on the ciphertext till one of the keys obtains the readable plain text. In general, it’s said half of all possible keys must be tried to get success.

0 0

Discussions

Post the discussion to improve the above solution.