Home
Writeups Misc About
Find The Lattice

Find the Lattice

I did not manage to solve this challenge. The private key is composed by some f,g, both smaller than q2, with the relation that fhg=0modq

This means that there exists a k such that fh=qk+g, since h is about the same size of q, we have that k is the same size of f.

We have the observation that f(h,1)+(k)(q,1)=(g,fk), where both components of the result are small (g is around the square root of q2, and f is approximately k). Also note that f>k, hence fk>0.

We can use Gauss reduction to find the lattice generated by (h,1),(q,1) has a chance to give us g.

Sage Implementation: (kudos to Drago)