Score:1

Cyclicity of AES

us flag

It is known that AES is extremely secure, with its highest standard(AES-256) being able to protect the national secrets of most governments. Due to the nature of its steps, there's the question about its cyclicality, or how many full encryptions with the same key would it need to yield the plaintext back, supposing that the variation is AES-ECB-128 NoPadding, with only one full block of plaintext.

SEJPM avatar
us flag
Note that it is generally assumed that AES with a fixed and unknown key (to a smart adversary) behaves like a random permutation of equal size, or is at least sufficiently indistinguishable from that.
Score:1
sa flag

It is widely believed that AES in the iterative mode you describe behaves like a random mapping $f:\{0,1\}^n \rightarrow \{0,1\}^n$ with $n=128$. Such a mapping would have expected (average) rho-length equal to $$ \sqrt{\pi 2^n/2}, $$ and expected maximal rho-length (this happens if your starting point $x_0$ ended up in the longest rho pattern of the iterative graph of $f$) $$ 2.4149 \sqrt{2^n}, $$ which is just a constant factor larger than the expected quantity.

The rho-length is the minimum number of iterations $N$ starting from a random plaintext $x_0$ with $x_1=E_K(x_0),$ $x_2=E_K(x_1),$ etc. until $x_{N-1}=E_K(x_{N-2})=x_j$ for some $j\in \{0,1,\ldots,N-2\}$ where $f(x)=E_K(x)$.

See the paper by Flajolet and Odlyzko which appeared in Eurocrypt in the late 1980s here.

Remark: The term rho-length is used because of the generic $\rho$ shape the iteration takes before hitting a point that was already seen.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.