Skip to content

Added some clarifications #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions _posts/2024-05-19-sdctf-reallycomplexproblem.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ The challenge performs RSA with complex integers (Gaussian Integers: $\mathbb{Z}
$\mathbb{Z}$. A Complex integer is a complex number $a + bi$ such that $a, b \in \mathbb{Z}$.

Fortunately, the logic behind the algorithm, Complex-RSA (CRSA), remains fairly familiar with a few caveats:
- Since there's no real notion of a prime over the Complex Plane, we instead say that a Gaussian integer $w$ is prime if
and only if its norm is prime.
- We say that a Gaussian integer $w$ is prime if its norm is prime.
- "What's a norm?" In this case, consider a norm to be defined as $Re(w)^2 + Im(w)^2$. (This can be interpreted,
- geometrically, as the square of the point's distance from the origin) Once we generate our primes `p` and `q`, the
rest of the process is the same as regular RSA. (I'm skipping over
Expand Down Expand Up @@ -174,6 +173,8 @@ n x n matrix with two exceptions:
- All the elemwents in our lattice are integers
- The Span of our vectors refers to just the *integer* linear combinations. (Instead of real coefficients for matrices).

To clarify: We will exclusively be talking about integer lattices, hereby referred to as just lattices.

Like a matrix, we can put express our polynomial f(Rx) in the form of a row vector. In fact, you've already seen this
before in the form of our coefficient vectors.

Expand All @@ -183,6 +184,7 @@ before in the form of our coefficient vectors.
We can create a matrix using some of our polynomials in $F$ where each row is a polynomial and each column is represents
the coefficients of a power of $x$. We can create a matrix using the polynomials $g(x) = N$, $f(Rx)$, $[f(Rx)]^2$.


![](/assets/images/sdctf-2024/reallycomplexproblem/3x3_lattice.png)


Expand Down