Thermal conductivity: Difference between revisions
en>Shadowjams m Reverted edits by 2.49.204.103 (talk) editing tests or vandalism (HG) |
→Material phase: This is about chemical phase changes not "material(sic) phase". |
||
Line 1: | Line 1: | ||
{{More footnotes|date=March 2009}} | |||
In [[cryptography]], '''linear cryptanalysis''' is a general form of [[cryptanalysis]] based on finding [[affine transformation|affine]] approximations to the action of a [[cipher]]. Attacks have been developed for [[block cipher]]s and [[stream cipher]]s. Linear cryptanalysis is one of the two most widely used attacks on block ciphers; the other being [[differential cryptanalysis]]. | |||
The discovery is attributed to [[Mitsuru Matsui]], who first applied the technique to the [[FEAL]] cipher (Matsui and Yamagishi, 1992).<ref name="FEAL_linear">{{cite conference | author = Matsui, M. and Yamagishi, A | title = A new method for known plaintext attack of FEAL cipher | booktitle = Advances in Cryptology - [[EUROCRYPT]] 1992 }}</ref> Subsequently, Matsui published an attack on the [[Data Encryption Standard]] (DES), eventually leading to the first experimental cryptanalysis of the cipher reported in the open community (Matsui, 1993; 1994).<ref name="experimental_cryptanalysis">{{cite conference | author = Matsui, M | title = The first experimental cryptanalysis of the data encryption standard | booktitle = Advances in Cryptology - [[CRYPTO]] 1994 }}</ref><ref name="DES_linear">{{cite conference | author = Matsui, M | title = Linear cryptanalysis method for DES cipher | booktitle = Advances in Cryptology - EUROCRYPT 1993 | url = http://homes.esat.kuleuven.be/~abiryuko/Cryptan/matsui_des.PDF | format = [[PDF]] | accessdate = 2007-02-22 }}</ref> The attack on DES is not generally practical, requiring 2<sup>47</sup> [[known-plaintext attack|known plaintexts]].<ref name="DES_linear"/> | |||
A variety of refinements to the attack have been suggested, including using multiple linear approximations or incorporating non-linear expressions, leading to a generalized [[partitioning cryptanalysis]]. Evidence of security against linear cryptanalysis is usually expected of new cipher designs. | |||
==Overview== | |||
There are two parts to linear cryptanalysis. The first is to construct linear equations relating plaintext, ciphertext and key bits that have a high bias; that is, whose probabilities of holding (over the space of all possible values of their variables) are as close as possible to 0 or 1. The second is to use these linear equations in conjunction with known plaintext-ciphertext pairs to derive key bits. | |||
===Constructing linear equations=== | |||
For the purposes of linear cryptanalysis, a linear equation expresses the equality of two expressions which consist of binary variables combined with the exclusive-or (XOR) operation. For example, the following equation, from a hypothetical cipher, states the XOR sum of the first and third plaintext bits (as in a block cipher's block) and the first ciphertext bit is equal to the second bit of the key: | |||
<math> | |||
P_1 \oplus P_3 \oplus C_1 = K_2. | |||
</math> | |||
In an ideal cipher, any linear equation relating plaintext, ciphertext and key bits would hold with probability 1/2. Since the equations dealt with in linear cryptanalysis will vary in probability, they are more accurately referred to as linear ''approximations''. | |||
The procedure for constructing approximations is different for each cipher. In the most basic type of block cipher, a [[substitution-permutation network]], analysis is concentrated primarily on the [[S-box]]es, the only nonlinear part of the cipher (i.e. the operation of an S-box cannot be encoded in a linear equation). For small enough S-boxes, it is possible to enumerate every possible linear equation relating the S-box's input and output bits, calculate their biases and choose the best ones. Linear approximations for S-boxes then must be combined with the cipher's other actions, such as permutation and key mixing, to arrive at linear approximations for the entire cipher. The [[piling-up lemma]] is a useful tool for this combination step. There are also techniques for iteratively improving linear approximations (Matsui 1994). | |||
===Deriving key bits=== | |||
Having obtained a linear approximation of the form: | |||
<math> | |||
P_{i_1} \oplus P_{i_2} \oplus \cdots \oplus C_{j_1} \oplus C_{j_2} \oplus \cdots = K_{k_1} \oplus K_{k_2} \oplus \cdots | |||
</math> | |||
we can then apply a straightforward algorithm (Matsui's Algorithm 2), using known plaintext-ciphertext pairs, to guess at the values of the key bits involved in the approximation. | |||
For each set of values of the key bits on the right-hand side (referred to as a ''partial key''), count how many times the approximation holds true over all the known plaintext-ciphertext pairs; call this count ''T''. The partial key whose ''T'' has the greatest [[absolute difference]] from half the number of plaintext-ciphertext pairs is designated as the most likely set of values for those key bits. This is because it is assumed that the correct partial key will cause the approximation to hold with a high bias. The magnitude of the bias is significant here, as opposed to the magnitude of the probability itself. | |||
This procedure can be repeated with other linear approximations, obtaining guesses at values of key bits, until the number of unknown key bits is low enough that they can be attacked with [[brute-force attack|brute force]]. | |||
==See also== | |||
* [[Piling-up lemma]] | |||
* [[Differential cryptanalysis]] | |||
==References== | |||
{{reflist|2}} | |||
== External links == | |||
* [http://www.engr.mun.ca/~howard/Research/Papers/ldc_tutorial.html A tutorial on linear (and differential) cryptanalysis of block ciphers] | |||
* [http://www.uclouvain.be/crypto/services/download/publications.pdf.be55706e161dc10a.34382e706466.pdf "Improving the Time Complexity of Matsui's Linear Cryptanalysis", improves the complexity thanks to the Fast Fourier Transform] | |||
* [http://www.engr.mun.ca/~howard/PAPERS/ldc_tutorial.pdf A Tutorial on Linear and Differential Cryptanalysis] | |||
==Further reading== | |||
* [http://www.apprendre-en-ligne.net/crypto/bibliotheque/PDF/lincrypt.pdf Linear Cryptanalysis of DES] | |||
* [http://www.cs.rit.edu/~ib/Classes/CS482-705_Winter10-11/Slides/crypto_lc.pdf A Tutorial on Linear and Differential Cryptanalysis] | |||
* [http://nsfsecurity.pr.erau.edu/crypto/lincrypt.html Linear Cryptanalysis Demo] | |||
{{Cryptography navbox | block}} | |||
[[Category:Cryptographic attacks]] |
Revision as of 08:19, 4 February 2014
Template:More footnotes In cryptography, linear cryptanalysis is a general form of cryptanalysis based on finding affine approximations to the action of a cipher. Attacks have been developed for block ciphers and stream ciphers. Linear cryptanalysis is one of the two most widely used attacks on block ciphers; the other being differential cryptanalysis.
The discovery is attributed to Mitsuru Matsui, who first applied the technique to the FEAL cipher (Matsui and Yamagishi, 1992).[1] Subsequently, Matsui published an attack on the Data Encryption Standard (DES), eventually leading to the first experimental cryptanalysis of the cipher reported in the open community (Matsui, 1993; 1994).[2][3] The attack on DES is not generally practical, requiring 247 known plaintexts.[3]
A variety of refinements to the attack have been suggested, including using multiple linear approximations or incorporating non-linear expressions, leading to a generalized partitioning cryptanalysis. Evidence of security against linear cryptanalysis is usually expected of new cipher designs.
Overview
There are two parts to linear cryptanalysis. The first is to construct linear equations relating plaintext, ciphertext and key bits that have a high bias; that is, whose probabilities of holding (over the space of all possible values of their variables) are as close as possible to 0 or 1. The second is to use these linear equations in conjunction with known plaintext-ciphertext pairs to derive key bits.
Constructing linear equations
For the purposes of linear cryptanalysis, a linear equation expresses the equality of two expressions which consist of binary variables combined with the exclusive-or (XOR) operation. For example, the following equation, from a hypothetical cipher, states the XOR sum of the first and third plaintext bits (as in a block cipher's block) and the first ciphertext bit is equal to the second bit of the key:
In an ideal cipher, any linear equation relating plaintext, ciphertext and key bits would hold with probability 1/2. Since the equations dealt with in linear cryptanalysis will vary in probability, they are more accurately referred to as linear approximations.
The procedure for constructing approximations is different for each cipher. In the most basic type of block cipher, a substitution-permutation network, analysis is concentrated primarily on the S-boxes, the only nonlinear part of the cipher (i.e. the operation of an S-box cannot be encoded in a linear equation). For small enough S-boxes, it is possible to enumerate every possible linear equation relating the S-box's input and output bits, calculate their biases and choose the best ones. Linear approximations for S-boxes then must be combined with the cipher's other actions, such as permutation and key mixing, to arrive at linear approximations for the entire cipher. The piling-up lemma is a useful tool for this combination step. There are also techniques for iteratively improving linear approximations (Matsui 1994).
Deriving key bits
Having obtained a linear approximation of the form:
we can then apply a straightforward algorithm (Matsui's Algorithm 2), using known plaintext-ciphertext pairs, to guess at the values of the key bits involved in the approximation.
For each set of values of the key bits on the right-hand side (referred to as a partial key), count how many times the approximation holds true over all the known plaintext-ciphertext pairs; call this count T. The partial key whose T has the greatest absolute difference from half the number of plaintext-ciphertext pairs is designated as the most likely set of values for those key bits. This is because it is assumed that the correct partial key will cause the approximation to hold with a high bias. The magnitude of the bias is significant here, as opposed to the magnitude of the probability itself.
This procedure can be repeated with other linear approximations, obtaining guesses at values of key bits, until the number of unknown key bits is low enough that they can be attacked with brute force.
See also
References
43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.
External links
- A tutorial on linear (and differential) cryptanalysis of block ciphers
- "Improving the Time Complexity of Matsui's Linear Cryptanalysis", improves the complexity thanks to the Fast Fourier Transform
- A Tutorial on Linear and Differential Cryptanalysis
Further reading
- Linear Cryptanalysis of DES
- A Tutorial on Linear and Differential Cryptanalysis
- Linear Cryptanalysis Demo
- ↑ 55 years old Systems Administrator Antony from Clarence Creek, really loves learning, PC Software and aerobics. Likes to travel and was inspired after making a journey to Historic Ensemble of the Potala Palace.
You can view that web-site... ccleaner free download - ↑ 55 years old Systems Administrator Antony from Clarence Creek, really loves learning, PC Software and aerobics. Likes to travel and was inspired after making a journey to Historic Ensemble of the Potala Palace.
You can view that web-site... ccleaner free download - ↑ 3.0 3.1 55 years old Systems Administrator Antony from Clarence Creek, really loves learning, PC Software and aerobics. Likes to travel and was inspired after making a journey to Historic Ensemble of the Potala Palace.
You can view that web-site... ccleaner free download