encyclopegia.org

Rotational cryptanalysis

In cryptography, rotational cryptanalysis is a generic cryptanalytic attack against algorithms that rely on three operations: modular addition, rotation and XOR — ARX for short.[src] Algorithms relying on these operations are popular because they are relatively cheap in both hardware and software and run in constant time, making them safe from timing attacks in common implementations.[src] The basic idea of rotational cryptanalysis is that both the bit rotation and XOR operations preserve correlations between bit-rotated pairs of inputs, and that addition of bit-rotated inputs also partially preserves bit rotation correlations.[src] Rotational pairs of inputs can thus be used to "see through" the cryptosystems cascaded ARX operations to a greater degree than might be expected.[src] This ability to "see" correlations through rounds of processing can then be exploited to break the cryptosystem in a way that is similar to differential cryptanalysis.[src] The term "rotational cryptanalysis" was coined by Dmitry Khovratovich and Ivica Nikolić in 2010 paper "Rotational Cryptanalysis of ARX", which presented the best cryptanalytic attacks at that time against a reduced-round Threefish cipher — part of the Skein hash function, a SHA-3 competition candidate.…[src]

In cryptography, rotational cryptanalysis is a generic cryptanalytic attack against algorithms that rely on three operations: modular addition, rotation and XOR — ARX for short.[src] Algorithms relying on these operations are popular because they are relatively cheap in both hardware and software and run in constant time, making them safe from timing attacks in common implementations.[src] The basic idea of rotational cryptanalysis is that both the bit rotation and XOR operations preserve correlations between bit-rotated pairs of inputs, and that addition of bit-rotated inputs also partially preserves bit rotation correlations.[src] Rotational pairs of inputs can thus be used to "see through" the cryptosystems cascaded ARX operations to a greater degree than might be expected.[src] This ability to "see" correlations through rounds of processing can then be exploited to break the cryptosystem in a way that is similar to differential cryptanalysis.[src] The term "rotational cryptanalysis" was coined by Dmitry Khovratovich and Ivica Nikolić in 2010 paper "Rotational Cryptanalysis of ARX", which presented the best cryptanalytic attacks at that time against a reduced-round Threefish cipher — part of the Skein hash function, a SHA-3 competition candidate.[src] A follow-up attack from the same authors and Christian Rechberger breaks collision resistance of up to 53 of 72 rounds in Skein-256, and 57 of 72 rounds in Skein-512.[src] It also affects the Threefish cipher up to 39 for 256-bit keys, 42 rounds for 512-bit keys, and 43 rounds for 1024 bit keys with complexities 2^ , 2^ , and 2^ , respectively.[src] (x \oplus y)=(x) \oplus (y), and "(x)r" is trivially equal to "(x shifted by r)" (as x and r are the only things that determine the output).[src] Modular addition of 2^n is trickier as it can be non-linear in most cases.[src] The probability-hood of a given string that was shifted surviving modular addition (that is, "(x+y) = (x)+(y)") equals: (1/4)(1+2^ + 2^ +2^ ) where "n" is the exponent in 2^n , and r is the rotation amount like before.[src] The probability of a piece of rotated binary surviving an ARX cryptosystem is (p )^q , where "pr" is the probability-hood of surviving a singular modular addition given the above formula, and "q" is the amount of additions within the ARX scheme.[src] In order for the attack to be theoretically relevant, the probability of getting the key from the attack must be below the chance of discovering it randomly (that is, the average case complexity of 2^n of the rotational cryptanalytic attack must be below the 2^n of raw brute-force).[src] The full versions of most ARX cryptosystems are not vulnerable, but their reduced rounds are as the probability of recovering the key is higher at the start of the mixing process (the rounds) than at the end.[src] It is also important to note that many ARX schemes have constant terms that need to be XOR'ed and added within the regular scheme.[src] This is not an issue in cases where the constants that are used are rotated (as already mentioned, (x \oplus y)=(x) \oplus (y), with one of the variables potentially being the constant) but constants that are not rotated decrease the probability of the rotations surviving.[src] The authors of the original attack paper attempt to cover for this by introducing "error correction" variables that were found by the Monte-Carlo method that aim to maximize the chance of the constants being nullified throughout the round process.[src] The error correction constant has a chance of removing the constant obfuscation for a given round of a cryptosystem by XOR'ing the output of the function with the given error constant.[src] For example, in Skein, the error constant has a probability of creating the below equivalence, reversing the hash compression function to the point before constants are involved: Skein((X)\oplus ) = (Skein(X)) where "e" is the error constant and " (Skein(X)) " is the output of the round function at the given time without the constant involved.[src] Error correction constants are unique to each cryptosystem, and presumably must be found by Monte-Carlo simulations.[src] There is currently no publicly known formula to discover the error correction variable needed on the fly.[src]

27 sentences · 27 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Rotational cryptanalysis." encyclopegia.org, 2026, https://encyclopegia.org/wiki/rotational-cryptanalysis. Accessed 25 November 2026.

Chicago

"Rotational cryptanalysis." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/rotational-cryptanalysis.

APA

encyclopegia.org. (2026). Rotational cryptanalysis. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/rotational-cryptanalysis

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

Related articles

rotational direction

stub · references available

linear cryptanalysis

stub · references available

rubber-hose cryptanalysis

stub · references available

rotational energy

stub · references available

truncated differential cryptanalysis

stub · references available

Rotational-vibrational spectroscopy

stub · references available

rotational angiography

stub · references available

Rotational partition function

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1369548761 · 0.55 · snapshot rotational-cryptanalysis-831237-8ac1e4907acd969e · QID Q7370323

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.