Practice
In practice, the Xs are approximations to the S-boxes (substitution components) of block ciphers. Typically, X values are inputs to the S-box and Y values are the corresponding outputs. By simply looking at the S-boxes, the cryptanalyst can tell what the probability biases are. The trick is to find combinations of input and output values that have probabilities of zero or one. The closer the approximation is to zero or one, the more helpful the approximation is in linear cryptanalysis.
However, in practice, the binary variables are not independent, as is assumed in the derivation of the piling-up lemma. This consideration has to be kept in mind when applying the lemma; it is not an automatic cryptanalysis formula.
Read more about this topic: Piling-up Lemma
Famous quotes containing the word practice:
“Know how to be content and you will never be disgraced; practice self-restraint and you will never be in danger.”
—Chinese proverb.
Laozi.
“By practice and conviction formed,
With ancient stubbornness ingrained,
Although her body clung and swarmed,
My own identity remained.”
—Yvor Winters (19001968)
“To know how to be content, and to be so, protects one from disgrace; to know self-restraint and practice it protects one from shame.”
—Chinese proverb.
Lao-tzu.