[KongchangAI]
· 2 min read· 1,240 words

Have Labs Cracked Factoring in P? Rumor Sends Shockwaves Through Cryptography

Have Labs Cracked Factoring in P? Rumor Sends Shockwaves Through Cryptography

An unverified Hacker News rumor that factoring may have been brought into P prompts a reexamination of the security foundations of RSA and all public-key cryptography.

The article discusses an unverified rumor on Hacker News that multiple labs may have cracked large-integer factorization in polynomial time. If true, RSA's mathematical foundation would collapse directly, and because of the algorithmic connections between factoring, discrete logarithms, and lattice problems, the impact could ripple across the entire public-key cryptography landscape. The article stresses that there is currently no paper, no reproduction, and no named researcher—it is an analysis of "what it would mean if true," not an announcement of a result. It offers hard criteria for judging such rumors: whether there is a preprint, independent reproduction, and whether it targets arbitrary large integers. It advises practitioners that no migration is needed in the short term, but they should inventory system dependencies on traditional public-key cryptography and assign clear ownership for post-quantum migration.

Why a Single Rumor Has the Cryptography World on Edge

A short but explosive discussion appeared on Hacker News: "Rumors swirling that labs might have cracked Factoring in P." The post quickly racked up 68 points and 32 comments, generating far more heat than the average technical gossip.

The reason is easy to understand. Half of modern public-key cryptography—RSA and the various protocols that rely on the hardness of large-integer factorization—rests on the assumption that "factoring is not in P." If a lab really has brought large-integer factorization into polynomial time, that's not an algorithm optimization problem; it's a foundational problem for the entire trust infrastructure.

But let's be clear upfront: this is currently an unverified rumor. No paper, no reproducible experiment, no public statement from a named researcher. What follows is a discussion of "what it would mean if true" and "why rumors like this deserve serious attention"—not an announcement that any result has been established.

P complexity is one of the core concepts in computational complexity theory. A problem belongs to P (Polynomial time) if there exists a deterministic Turing machine that can solve it in polynomial time—time complexity of the form O(n^k), where n is the input size (for large-integer factorization, n typically refers to the number of bits in the integer to be factored). The contrasting class is NP, where solutions can be verified in polynomial time. The long-standing consensus is that factoring is in NP but not in known P, and it is widely conjectured not to be in P at all—a conjecture that is the theoretical bedrock of RSA's security. If "factoring is in P" were proven, it would mean there exists an algorithm whose running time grows only polynomially with the number of bits (e.g., some fixed power of n), rather than sub-exponentially as with the current best algorithms (such as the number field sieve). The gap is cryptographically enormous: the former would make 2048-bit RSA crackable in foreseeable time, while the latter leaves attackers facing astronomical computational effort.

If True, How Big Would the Impact Be?

RSA Bears the Brunt

RSA's security is directly tied to the hardness of large-integer factorization. Once a polynomial-time factoring algorithm lands, RSA encryption and signatures would theoretically fail immediately—not to the degree of "needing longer keys," but with their mathematical foundation pulled out from under them.

Schemes Relying on Discrete Logarithms and Lattice Problems May Not Be Safe Either

What worries researchers more is the knock-on effect. There are deep algorithmic and reduction connections among factoring, discrete logarithms, and even some lattice-based hard problems. Historically, advances in factoring algorithms have repeatedly spilled over into the discrete logarithm domain. So "factoring cracked" tends to trigger a reassessment of the entire public-key cryptography landscape, not just RSA.

The discrete logarithm problem (DLP) is the cornerstone of another major class of public-key cryptography; Diffie-Hellman key exchange, DSA signatures, ElGamal encryption, and elliptic curve cryptography (ECDSA, EdDSA) all depend on it directly. The general form of DLP is: given group elements g and g^x, find the exponent x. Lattice-based hard problems (such as the Shortest Vector Problem, SVP, and Learning With Errors, LWE) are a relatively newer class of hardness assumptions, widely used in security proofs for post-quantum cryptography (such as NIST standards like Kyber and Dilithium). There is ample precedent for the deep connection between factoring and DLP: the number field sieve (NFS) was originally designed for factoring, then adapted into a discrete logarithm sieve that successfully broke the DLP challenges of its time. Similarly, many algebraic techniques from factoring algorithms can be ported to specific group structures. So if the hardness assumption behind factoring were overturned, researchers would immediately ask: can the same algebraic breakthrough be transferred to DLP or even some lattice problems? That's why "factoring cracked" is seen as an earthquake across the entire public-key cryptography landscape, not a localized failure of a single algorithm.

Migration Cost Is a Whole Different Order of Magnitude

Even if a new algorithm were confirmed today, the global replacement cycle for certificates, firmware, financial messaging, and identity systems is measured in years. The rollout of post-quantum cryptography standards was already slow; if the rumor were true, it would turn the timetable from "leisurely planning" into "emergency mobilization."

Post-Quantum Cryptography (PQC) refers to public-key algorithms that can resist quantum computer attacks, mainly based on mathematical hard problems in lattices, codes, multivariate systems, and hashes. NIST has led the standardization process since 2016. In 2024, NIST officially published the first batch of PQC standards (FIPS 203/204/205). However, note that PQC's threat model targets quantum computing attacks (such as Shor's algorithm), and its security assumptions are a different matter from "whether factoring is in P": Shor's algorithm gives quantum polynomial-time factoring, whereas the rumor refers to a classical polynomial-time algorithm. Regardless of which kind of breakthrough occurs, the migration complexity is equally staggering—TLS certificates, code signing, smart card firmware, industrial control systems, and financial messaging protocols worldwide all embed RSA or ECC, and replacing them involves standards revisions, hardware replacement, compatibility testing, and compliance certification, with cycles measured in 5 to 15 years. This is precisely why the concept of "crypto agility" is gaining increasing attention: systems should be designed so that underlying algorithms can be swapped quickly without a complete overhaul.

Why Rumors Like This Can't Be Dismissed with a Laugh

There Is Historical Precedent for "Rumor First, Confirmation Later"

The cryptography community is always wary of rumors of "major breakthroughs," because the vast majority are ultimately debunked. But there are exceptions: some algorithmic advances that were later widely recognized first circulated among researchers as hearsay. A rumor is not evidence, but it is a signal worth tracking.

Checklist: How to Tell True from False

When facing news like this, you can filter by a few hard criteria: Is there a preprint or formal paper? Has an independent third party reproduced it? Is the algorithm's complexity theoretically polynomial, or only effective at specific scales? Does it target only special forms of integers (such as smooth numbers) rather than arbitrary large integers? If any one of these is missing, the conclusion should remain "pending verification."

According to the general reaction in the Hacker News discussion thread, most commenters were skeptical while also pressing for the source of the news—this attitude of neither fully denying nor credulously believing is exactly the norm for the cryptography community when facing unverified breakthroughs.

Practical Advice for Practitioners

In the short term, there is no need to launch any migration because of a single rumor. But this is a good opportunity to do two things: first, inventory how deeply your systems depend on RSA and traditional public-key cryptography, including embedded and legacy systems that are easy to overlook; second, elevate post-quantum migration from a "long-term topic" to a planning item with a clearly assigned owner.

The history of cryptography repeatedly proves: what's truly dangerous is often not that an algorithm gets broken, but that an organization discovers, when the algorithm is broken, that it has no idea what it was using.

Conclusion

This rumor remains at the rumor stage, lacking any verifiable technical material. But the attention it generated on Hacker News demonstrates one thing—the complexity of factoring remains a sensitive nerve in the entire digital trust system. Staying informed, staying skeptical, and preparing for migration in advance is the most rational posture when facing news like this.

#factoring in P#RSA security#public-key cryptography#post-quantum cryptography#cryptography rumor
Share:

Related articles