Mod n cryptanalysis: Difference between revisions

Content deleted Content added
Undid revision 113949810 by 128.97.19.56 (talk)
Undid revision 196876448 by Ntsimp (talk)
Line 2:
 
==Mod 3 analysis of RC5P==
For RC5P, analysis was conducted modulo 3. It was observed that for the operations in the cipher (rotation and addition, both on 32-bit words) were somewhat biased over congruence classes mod 3. To illustrate the approach, consider left rotation by a single bit:
 
: <math>X \lll 1=\left\{\begin{matrix} 2X, & \mbox{if } X < 2^{31} \\ 2X + 1 - 2^{32}, & \mbox{if } X \geq 2^{31}\end{matrix}\right.</math>