All Projects → ubuntor → coppersmith-algorithm

ubuntor / coppersmith-algorithm

Licence: GPL-3.0 license
Implements Coron's simplification of Coppersmith's algorithm

Programming Languages

Sage
50 projects

Coppersmith's Algorithm

Implements Coron's reformulation of Coppersmith's algorithm for finding small integer roots of a bivariate polynomial modulo an integer.

Paper: http://www.jscoron.fr/publications/bivariate.pdf

Used in CSAW CTF Quals 2016 to solve Still Broken Box. (BTW, if you want an implementation of a crypto algorithm, write a crypto CTF challenge that needs it and read writeups.)

Warning: CTF Quality Code! Should be much more readable now.

Why?

Why not?

Doesn't Sage provide this with small_roots()?

small_roots() only works with univariate polynomials. (which still would have saved me a lot of time in CSAW...)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].