Skip to main content

Featured Post

Ed Scheidts Mayan Symbols - Can we solve the puzzle?

In this post I want to talk about a thing from the Kryptos universe that are not directly related to the statue. But i think it may be an indirect hint to some Kryptos related methods. The Mayan Symbols in Ed Scheidts driveway I think everyone who knows Kryptos knows Ed Scheidt. The former Chairman of the Cryptographic Center at the CIA and founder of the cryptosystems used around the Kryptos statue. As already shown in Part 4 of my Kryptos series, in the driveway of Ed Scheidts house, there are two symbols: Figure 1 - Garage driveway of Ed Scheidt We denote the left symbol set with $S_1$ and the right one with $S_2$. It took me a while to find his house on Google Maps - Street View. To save you some time, here is the link with a view on the driveway. I you go back in time in Streetview, you can see that the symbols were already there in 2012. But it is impossible to say when they were built. $S_1$ is clearly visible from the street, $S_2$ is hidden in the view. But you can u...

Proof: Otherwise you could break X

⬛ Some of you may be familiar with this situation. From time to time you find yourself thinking about a new approach to a problem that you know is difficult. And although you know that you should
probably be doing something more productive, you try new ideas to tackle the problems.

And every now and then you stumble across a more or less basic fact that prevents your idea from working. I will try to give some examples that may surprise you. I will focus on the three main problems: discrete logarithm problem, factorization problem and the class number computation problem.

Often the examples come from situations that similar to:

    Alice: "I have a great idea. What if you could find some object O that has property P and Q."

    Bob: "Perfect, O is well known and P and Q seem not that restrictive."

A few days later.

    Alice: "I can not find such an object. All objects either have P or Q but not both."

    Bob: "Yeah, you are right, probably there is some theorem that we don't know."

There are probably many more examples or better ones. But at least all of the three examples below crossed my road during the last years.

1. X ← Factorization Problem

Minors of matrices.

Here we are dealing with matrices of dimension $n > 3$ modulo $2$. Let $M$ be such as matrix. We denote a minor of $M$ by $M^i_j$, which is the submatrix of $M$ created by removing row $i$ and column $j$. If $M$ is a square matrix, so is $M^i_j$. You could remove several rows and columns at once via the notation $M^{i_1,i_2}_{j_1,j_2}$. For example:

\begin{equation}M = \begin{bmatrix}
0 & 0 & 1 & 1 & 0 \\
1 & 1 & 0 & 1 & 0 \\
0 & 1 & 0 & 0 & 1 \\
0 & 0 & 0 & 1 & 1 \\
1 & 0 & 1 & 1 & 1
\end{bmatrix}\end{equation}

Then $M^0_2$ is equal to
\begin{equation}M^0_2 = \begin{bmatrix}
1 & 1 & 1 & 0 \\
0 & 1 & 0 & 1 \\
0 & 0 & 1 & 1 \\
1 & 0 & 1 & 1
\end{bmatrix}\end{equation} One day, i followed a line of reasoning [actually by reading the paper [2]] from which one could conclude that one could factorise integers if one could find an arbitrary matrix $M$ of dimension $n>3$ for which the following rules hold:

1. $\text{det}(M) \equiv 0 \pmod{2}$
2. $\text{det}(M^{1,2}_{1,2}) \equiv 0 \pmod{2}$
3. $\text{det}(M^1_1) \equiv 1 \pmod{2}$
4. $\text{det}(M^2_2) \equiv 1 \pmod{2}$
5. $\text{det}(M^1_2) \equiv 0 \pmod{2}$
6. $\text{det}(M^2_1) \equiv 0 \pmod{2}$

This doesn't look too impossible. I have never heard of anything that would prevent such a matrix equation. Why shouldn't such a matrix exist?  

But sadly, a known matrix identity was pointed out to me - the Desnanot Jacobi identity:

$$\text{det}(M)\cdot \text{det}(M^{1,2}_{1,2}) \equiv \text{det}(M^1_1)\text{det}(M^2_2) - \text{det}(M^1_2)\text{det}(M^2_1) \pmod{2}$$ Which contradict my system of equations.

X ← Class number computation problem

Recurrence Relations.

A recurrence relations is a very basic object in mathematics. For example the Fibonacci numbers are a simple recurrence relation of order $2$: $F_{n} = F_{n-1} + F_{n-2}$ with $F_0 = 0$ and $F_1 = 1$. If you reduce each term of the recurrence relation modulo some prime number $p$ you get a periodic sequence. For the Fibonacci number those periods regarding different primes have a special name - Pisano Period. The length of the period depends on the prime number $p$. Now assume that from the period you create a circulant matrix $M$. For example from the period of the Fibonacci numbers modulo $11$ you create the matrix:

\begin{equation}
\begin{bmatrix}
0 & 1 & 1 & 2 & 3 & 5 & 8 & 2 & 10 & 1\\
1& 0 & 1 & 1 & 2 & 3 & 5 & 8 & 2 & 10\\
10 & 1& 0 & 1 & 1 & 2 & 3 & 5 & 8 & 2 \\
2 & 10 & 1& 0 & 1 & 1 & 2 & 3 & 5 & 8\\
8 & 2 & 10 & 1& 0 & 1 & 1 & 2 & 3 & 5\\
5 & 8 & 2 & 10 & 1& 0 & 1 & 1 & 2 & 3\\
3 & 5 & 8 & 2 & 10 & 1& 0 & 1 & 1 & 2\\
2 & 3 & 5 & 8 & 2 & 10 & 1& 0 & 1 & 1\\
1 & 2 & 3 & 5 & 8 & 2 & 10 & 1& 0 & 1\\
1 & 1 & 2 & 3 & 5 & 8 & 2 & 10 & 1& 0
\end{bmatrix}
\end{equation}

A recurrence relations of order $m$ is $$R: c_1r_{n-m} + c_2r_{n-m+1} + \ldots + c_mr_{n-1} = r_n$$ with $m$ given starting values. You could compute the class number for an arbitrary prime number $q$ if you could find:

1. Two recurrence relations $R_1$ and $R_2$ of the same order that have equal period length modulo some prime number $p$.
2. Let $(c_1,c_2,c_3)$ the coefficients for $R_1$ and $(c'_1,c'_2,c'_3)$ the coefficients for $R_2$. Then it must hold $c'_1 = c_1+d, c_2 = c'_2, c_3 = c'_3$, i.e., the coefficients only differ in one place by some integer $d$.
3. The product of the two period matrices $M_{R_1}$ and $M_{R_2}$ is not equal to the zero matrix.

Again, at first I thought it was possible. I have never heard of anything that would prevent such a recursion.  

But unfortunately, these three requirements contradict each other. I found a short proof for this, but at first glance it seems very conspiratorial to me. Let me give you a brief example. Pick $p=5$, then you can quickly come up with the two relations:

$$R_1: 2r_{n-3} + r_{n-2} + r_{n-1} \equiv r_n \pmod{5}, r_0 = 0, r_1 = 0, r_2 = 1$$

$$R_2: 2r_{n-3} + 2r_{n-2} + r_{n-1} \equiv r_n \pmod{5}, r_0 = 2, r_1 = 1, r_2 = 1$$

Only the second coefficient differs. They have periods $0, 0, 1, 1, 2, 0, 4, 3, 2, 3, 1, 3$ and $2, 1, 1, 2, 1, 2, 3, 4, 4, 3, 4, 3$ respectively. But if you build the circulant matrices from the two periods and multiply them, you get the zero matrix. Note that if the coefficients of $R_1$ and $R_2$ differ in more than one coefficient the product may not yield the zero matrix. 

But only in the case that one coefficient differs, you could use this to gain information about the sum of group elements of an arbitrary group $\mathbb{G} \in \mathbb{F}^*_q$, which again relates to the class number.

X ← Discrete logarithm problem

Digit Sum.

The last example is not a perfect fit, but it may surprise you. This is because it covers a simple function that we all learned years ago - digit sum computation, i.e., $\text{digitSum}(4398103) = 4+3+9+8+1+0+3 = 28$

You could compute discrete logarithms if you could compute the digit sum of an arbitrary large number.  

The numbers we are interested in are exponentially large, so you might think that this is pointless as we cannot even write them down. But remember that even very large numbers can have a short Kolmogorov complexity - that is, a short way of describing the number. For example the number $10^n-1$ is exponential in $n$ but can be expressed with $5$ symbols only. And even more, its digit sum in base-$10$ is simple to compute: $9\cdot n$. Another example is the Fermat quotient defined as $$q_p(a) := (a^{p-1}-1)/p$$ for a prime number $p$. The integer is of great interest in mathematics. If you could manage to compute its digits sum (to be more precise: for $q_p(a)\cdot f$ for some explicit given $f$ and in different bases) you could compute discrete logarithms [see [1] for more details or this blog post]. 


[1] Schridde, Christian. "Computing discrete logarithms using 𝒪((log q)2) operations from {+,-,×,÷,&} " Groups Complexity Cryptology, vol. 8, no. 2, 2016, pp. 91-107. https://doi.org/10.1515/gcc-2016-0009
[2] Leslie G. Valiant. The complexity of computing the permanent. Theoretical Computer Science, 8:189–201, 1979.

Comments

Popular posts from this blog

Kryptos - The Cipher (Part 4) - Correctly positioned decryption of the word BERLIN

EASTNORTHEAST - This is not exactly the hint Jim Sanborn (JS) gave for K4 on the 29th of January this year. He only gave NORTHEAST - which refers to the positions 26-34 of K4's plaintext.  Beside BERLIN and CLOCK it is the third revealed plaintext word of K4. However, also this hint does not seem to help much.  However, it just so happened, that a member in the yahoo kryptos group had a conversation with Jim Sanborn due to a submitted solution. Sandborn's answer to the question contained again the last clue which surprisingly was EASTNORTHEAST at position 22-34. Jim Sanborns compass rose at CIA There is disagreement if Jim revealed this on purpose or he did it accidentially, but the new extended clue seem to be serious and valid.Interestingly, EASTNORTHEAST is exactly the direction which is illustrated on the compass rose on one of the stones around kryptos, also created by Jim Sanborn. Actually, i dont really kn...

Kryptos - The Cipher (Part 1) - Introduction

Introduction. Since I think that KRYPTOS does not need any introduction, I will only give you a brief description of one of the most famous and only partially solved ciphers known today: KRYPTOS - Von Jim Sanborn - Jim Sanborn, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=8253447 KRYPTOS was constructed in Nov. 1990 on the ground of the CIA Headquarter in Langley, Virginia by Jim Sanborn It contains 4 ciphers (K1,K2,K3,K4) on its left side and some kind of Vigenère-Table on its right side K1, K2 and K3 were solved by James Gillogly in 1999. Afterwards, the CIA and later the NSA claimed that they had a solution to the first three ciphers at an earlier point in time Ed Scheidt, a cryptoanalyst and former director of the CIA, gave Sanborn the input of possible cryptographic techniques to use K1 is a variant of the Vigenère-Cipher (Quagmire 3) with the codewords KRYPTOS and PALIMPSES...

Kryptos - The Cipher (Part 3)

This post is about is more or less a collection of several approaches and facts that has been said as well as some speculations. B-ary integer representation According to [1] during a Question and Answer round, Jim Sanborn was asked again about the hint BERLIN. The question was if N decodes to B, Y decodes to E, etc, etc. and Jim confirmed it does. Emphatically . It is written, that Jim Sanborn rattled through the entire crib: \begin{align}   \texttt{N} &\stackrel{\text{decode}}{\rightarrow} \texttt{B} \\   \texttt{Y} &\stackrel{\text{decode}}{\rightarrow}  \texttt{E} \\   \texttt{P} &\stackrel{\text{decode}}{\rightarrow}  \texttt{R} \\   \texttt{V} &\stackrel{\text{decode}}{\rightarrow}  \texttt{L} \\   \texttt{T} &\stackrel{\text{decode}}{\rightarrow}  \texttt{I} \\   \texttt{T} &\stackrel{\text{decode}}{\rightarrow}  \texttt{N} \end{align} When the same q...