Linear Cryptanalysis
Linear Cryptanalysis
Basic Idea
The main goal of linear cryptanalysis is to find linear approximations that relate plaintext bits,
ciphertext bits, and key bits. If a cipher has a structure where certain bits follow a linear
relationship with a probability significantly different from 0.5, an attacker can use this information to
deduce the secret key.
where:
Pi , Pj , … are bits of the plaintext,
2. Probability Bias
In an ideal cipher, bits should behave randomly, meaning each linear equation should hold with a
probability close to 0.5.
If a certain equation holds with a probability noticeably different from 0.5 (e.g., 0.75 or 0.25), it
means there is a bias in the cipher.
This bias can be exploited to recover key bits.
Summary
Feature Description
Linear cryptanalysis remains an important tool in cryptanalysis, but modern cryptographic designs take
it into account to ensure resistance.