encyclopegia.org

Mod n cryptanalysis

In cryptography, mod cryptanalysis is an attack applicable to block and stream ciphers.[src] It is a form of partitioning cryptanalysis that exploits unevenness in how the cipher operates over equivalence classes (congruence classes) modulo .[src] The method was first suggested in 1999 by John Kelsey, Bruce Schneier, and David Wagner and applied to RC5P (a variant of RC5) and M6 (a family of block ciphers used in the FireWire standard).[src] These attacks used the properties of binary addition and bit rotation modulo a Fermat prime.[src]

In cryptography, mod cryptanalysis is an attack applicable to block and stream ciphers.[src] It is a form of partitioning cryptanalysis that exploits unevenness in how the cipher operates over equivalence classes (congruence classes) modulo .[src] The method was first suggested in 1999 by John Kelsey, Bruce Schneier, and David Wagner and applied to RC5P (a variant of RC5) and M6 (a family of block ciphers used in the FireWire standard).[src] These attacks used the properties of binary addition and bit rotation modulo a Fermat prime.[src] ==Mod 3 analysis of RC5P== For RC5P, analysis was conducted modulo 3.[src] It was observed that the operations in the cipher (rotation and addition, both on 32-bit words) were somewhat biased over congruence classes mod 3.[src] To illustrate the approach, consider left rotation by a single bit: X \lll 1=\left\{\begin{matrix} 2X, & \mbox{if } X Then, because 2^{32} \equiv 1\pmod 3,\, it follows that X \lll 1 \equiv 2X\pmod 3.[src] Thus left rotation by a single bit has a simple description modulo 3.[src] Analysis of other operations (data dependent rotation and modular addition) reveals similar, notable biases.[src] Although there are some theoretical problems analysing the operations in combination, the bias can be detected experimentally for the entire cipher.[src] In (Kelsey et al., 1999), experiments were conducted up to seven rounds, and based on this they conjecture that as many as 19 or 20 rounds of RC5P can be distinguished from random using this attack.[src] There is also a corresponding method for recovering the secret key.[src] Against M6 there are attacks mod 5 and mod 257 that are even more effective.[src] ==References==[src]

18 sentences · 18 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Mod n cryptanalysis." encyclopegia.org, 2024, https://encyclopegia.org/wiki/mod-n-cryptanalysis. Accessed 25 November 2026.

Chicago

"Mod n cryptanalysis." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/mod-n-cryptanalysis.

APA

encyclopegia.org. (2024). Mod n cryptanalysis. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/mod-n-cryptanalysis

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1263968244 · 0.5 · snapshot enwiki-001263968244

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.