Computer Science, asked by sarlamalik767, 9 months ago

Hat are the two general approaches to attacking a cipher?

Answers

Answered by kowsalya14
3

Explanation:

Cryptanalysis: Cryptanalytic attacks rely on the nature of the algorithm plus perhaps some knowledge of the general characteristics of the plaintext or even some samples plaintext-cipher text pairs. This type of attack exploits the characteristics of the algorithm to attempt to deduce a specific plaintext or to deduce the key being used. If the attack succeeds in deducing the key, the effect is catastrophic: All future and past messages encrypted with the key are compromised.

Brute-force attack: The attacker tries every possible key on a piece of cipher text until an intelligible translation into plaintext is obtained. On average, half of all possible keys must be tried to achieve success.

Answered by varsha955769
1

Answer:

Explanation:

The two general approaches to attacking a cipher:

1) Cryptanalysis, based on properties of the encryption algorithm,

2)  brute-force, which involves trying all possible keys.

Similar questions