A Reproducible Shor and Coppersmith Artifact Suite for Commodity-Hardware RSA Experiments

Shor's factoring algorithm and Coppersmith's small-roots method are two foundational pillars of RSA cryptanalysis, yet publicly available artifact suites rarely pair an executable quantum state-vector factoring harness with a self-contained classical partial-key-exposure implementation on commodity hardware. We present a self-contained, reproducible suite comprising two independent components: (1) a Python driver wrapping a semiclassical half-QFT Shor state-vector simulator, validated on a smoke batch of 11 RSA moduli generated from n/2-bit primes (|N| <= 16, 20, 24 bits) at a median wall-clock runtime of 0.68 s (maximum 1.80 s) and equipped with a checkpointed harness for RSA-32 experiments; and (2) a dependency-free pure-Python Coppersmith implementation (with optional fpylll acceleration) evaluated across 159 parameter points covering prime factor sizes |p| in {16, 24, 32, 40, 48} bits (RSA-32 through RSA-96) and lattice dimensions d = m + t in {8, 10, 12, 16}, recovering p from 54%--59% known most-significant bits in 901.85 s total runtime. We also document a recurring mu_{k,j}-update bug in compact pure-Python LLL implementations and verify the fix empirically. Finally, we explain from first principles why running Shor's algorithm on a small auxiliary modulus yields no usable bit-leakage channel into Coppersmith's attack on an unrelated larger modulus, positioning both components strictly as complementary experimental and pedagogical tools rather than a hybrid attack.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24462593
Primary Topic
Cryptography and Residue Arithmetic
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A Reproducible Shor and Coppersmith Artifact Suite for Commodity-Hardware RSA Experiments

Rui Liu
Zenodo (CERN European Organization for Nuclear Research)
Cryptography and Residue Arithmetic
preprint

A Reproducible Shor and Coppersmith Artifact Suite for Commodity-Hardware RSA Experiments

Rui Liu
preprint en

Abstract

Shor's factoring algorithm and Coppersmith's small-roots method are two foundational pillars of RSA cryptanalysis, yet publicly available artifact suites rarely pair an executable quantum state-vector factoring harness with a self-contained classical partial-key-exposure implementation on commodity hardware. We present a self-contained, reproducible suite comprising two independent components: (1) a Python driver wrapping a semiclassical half-QFT Shor state-vector simulator, validated on a smoke batch of 11 RSA moduli generated from n/2-bit primes (|N| <= 16, 20, 24 bits) at a median wall-clock runtime of 0.68 s (maximum 1.80 s) and equipped with a checkpointed harness for RSA-32 experiments; and (2) a dependency-free pure-Python Coppersmith implementation (with optional fpylll acceleration) evaluated across 159 parameter points covering prime factor sizes |p| in {16, 24, 32, 40, 48} bits (RSA-32 through RSA-96) and lattice dimensions d = m + t in {8, 10, 12, 16}, recovering p from 54%--59% known most-significant bits in 901.85 s total runtime. We also document a recurring mu_{k,j}-update bug in compact pure-Python LLL implementations and verify the fix empirically. Finally, we explain from first principles why running Shor's algorithm on a small auxiliary modulus yields no usable bit-leakage channel into Coppersmith's attack on an unrelated larger modulus, positioning both components strictly as complementary experimental and pedagogical tools rather than a hybrid attack.

Zenodo (CERN European Organization for Nuclear Research)
Cryptography and Residue Arithmetic
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon