What is the integer factorization problem?

The integer factorization problem is the hard mathematical problem that RSA relies on, and it is one of the classical problems that quantum computers threaten. This page explains where it appears and what it means for your migration.

On this page

What is the integer factorization problem and why does it matter for RSA?

The integer factorization problem is the task of taking a large whole number and finding the prime numbers that multiply together to produce it. It is the hard problem that RSA's security is based on: given the public modulus used in an RSA key, an attacker who can factor that number can recover the private key. It is also the classical problem that post-quantum work is measured against, because the migration question is whether a new scheme holds up where RSA is expected to fail. If you met this term in a vendor document, a standard or an audit request, it usually means the vendor is describing what its RSA support depends on, or an assessor wants to know which assumption a current control rests on.

You will see the term in several places. Vendor documentation for TLS endpoints, VPNs, code signing and certificate authorities often lists RSA key sizes and the algorithms they support, and the security claim beneath those sizes is the difficulty of factoring. Audit requests and questionnaires may ask which public-key algorithms are in use, so the factorization dependency is what sits behind an answer that says RSA. Standards from NIST describe the new post-quantum algorithms against this classical baseline, and the NIST IR 8547 transition report identifies quantum-vulnerable standards, which includes RSA. You do not need the underlying mathematics to act on this. What you need is the list of places RSA is used in your environment, so you know where a migration plan must reach.

For planning, confirm three things in your own environment rather than assuming them. First, find which systems use RSA keys and at what sizes, since the sources listed on this page do not state a single replacement timeline for your organization. Second, check the algorithms your vendors have published for their post-quantum support, and confirm the version and configuration you run, because support is not identical across products. Third, read the security strength guidance in the NIST CSRC glossary and the Cryptography Incident Review Group statement, which discuss how strength is measured and how to design for replacement. Use these as the reference points for a migration inventory, not as proof that any given product is secure.

What names and identifiers does the integer factorization problem go by?

This table lists the names and identifiers that appear alongside the integer factorization problem in post-quantum guidance and standards, and how each one is used. Read it to match a term you met in a vendor document or specification to the underlying hard problem. The main takeaway is that RSA is a scheme built on this problem, so a reference to RSA signals that factorization-based security is in play, and key sizes must be confirmed in the relevant specification or vendor documentation.

Name or identifierWhat it refers toWhere you will see it
Integer factorization problemThe problem of finding the prime factors of a large composite integer.Definitions of the hard problem behind RSA in cryptography texts and guidance.
Integer factorizationThe same problem, named as the operation of splitting an integer into its prime factors.Technical documents describing what an attacker must compute to recover a private key.
RSAAn abbreviation for the public-key scheme whose security rests on the integer factorization problem.Vendor documentation, configuration files and standards that name RSA keys, signatures or key transport.
Factoring problemA shorter name for integer factorization used in some papers and summaries.Research papers and informal discussion of quantum attacks on RSA.
Quantum-vulnerable standardsStandards that depend on factorization-based or discrete-logarithm-based schemes that a quantum computer could attack.NIST IR 8547, which identifies the standards products will need to move away from.
Parameter sets and key sizesThe configured key lengths for RSA that set the work an attacker must do.Relevant specification or vendor documentation. The sources listed on this page do not give RSA parameter sets, so confirm key sizes there.

Where does the integer factorization problem show up in real systems?

RSA-based security appears wherever a system signs something, proves an identity or exchanges a key using RSA keys. The cards below cover the places where engineers and reviewers meet that dependence, and what each one tells you about the underlying hard problem and about your own migration inventory.

TLS certificates

Many TLS server certificates carry RSA public keys, and the certificate authority signs them with RSA. Whether the server's identity can be forged depends on whether RSA is still the signature scheme in use, so the certificate chain is a direct place where the factorization problem protects trust. Check the key type and size on every certificate in your inventory, along with the intermediate CA and any load balancer that terminates TLS. Remember that a certificate's key algorithm is only one part of the picture, because the key exchange negotiated during the handshake is a separate choice.

NIST IR 8547

SSH keys

SSH authentication commonly uses RSA key pairs, where the server holds a public key and the client proves possession of the private key. A user or host key generated with RSA rests on the difficulty of factoring the modulus, so an attacker who could factor it could derive the private key from the public one. Inventory your authorized_keys files, host keys and CI deploy keys, and note the key type and length for each. Keys created years ago are often the least visible part of the estate.

Signed software and firmware

Software packages, container images and firmware are often signed with RSA, and the signature lets a recipient verify the publisher and detect tampering. Because a signature validates long after it is issued, the factorization problem protects artifacts that may be verified years from now. Ask vendors which signing algorithm they use for release artifacts and firmware updates, and whether their verification tooling accepts more than one algorithm. Be careful with claims about what a vendor has validated: report only what its own documents say.

Signed documents and records

Signed PDFs, contracts, audit logs and regulated records frequently rely on RSA signatures and the certificates that anchor them. A long-lived record may need to remain verifiable for a retention period longer than the algorithm is expected to stay secure, which is why archive owners should record which algorithm signed each document. Confirm with your records team whether signatures carry timestamps from a trusted source, since that affects how a signature is judged later. Treat any statement about a given product's signing practice as something to verify in its documentation.

Vendor and tender requirements

Procurement documents increasingly ask suppliers which cryptographic algorithms their products use and what their migration plans are. Questions about RSA usage appear in security questionnaires, request-for-proposal sections and vendor-risk assessments, so a supplier's answer about the factorization problem becomes a checkable commitment. Ask for a written list of every RSA use in the product, the key sizes involved and the vendor's dated roadmap. Do not accept a statement that a product is quantum safe or compliant without the specific module, version and issuer it refers to.

FIPS 203

How does RSA use the integer factorization problem in a system?

In RSA, the integer factorization problem is the hardness that protects the private key. When a key pair is generated, the public key is published and the private key is kept secret, and the key pair is constructed so that deriving the private key from the public key is believed to require factoring a large number. Anyone who holds the public key can encrypt data or verify signatures, but recovering the matching private key is the step that is believed to be infeasible with classical computers at properly sized key lengths. The security of the whole system therefore rests on that belief, and on the key length being chosen large enough that the factoring work stays out of reach.

This property supports the two main jobs RSA performs in a system. For key establishment, a party can use an RSA public key to encrypt a session secret, which only the holder of the private key can recover, so the two sides end up sharing a symmetric key. For digital signatures, the holder of the private key signs data, and anyone with the public key can check the signature. In both cases, the reader's practical question is whether the key lengths and parameters in use are sized for the security level they need, so confirm the key sizes your products generate against the guidance in the relevant NIST documents.

The sources listed on this page describe the role of the integer factorization problem in RSA as a concept. They do not describe how any particular product implements RSA, which padding schemes, key formats or library versions it uses, or what its defaults are. For those details, check the vendor's documentation or the configuration of your own environment. Also note that quantum computers change the picture for this problem: the sources on this page do not state a timeline for when that change will matter, so treat such claims with care and plan the migration of RSA-dependent systems on the basis of the standards and guidance your organization follows.

Which standards and bodies address the integer factorization problem today?

The sources on this page address the integer factorization problem indirectly, through the standards that replace the schemes built on it. NIST IR 8547, Transition to Post-Quantum Cryptography Standards, is the central reference. Its final report, published on 27 October 2026 (the initial public draft was dated 12 November 2024), identifies the existing quantum-vulnerable standards and the quantum-resistant standards that products and services will need to adopt. The report also supports Executive Order 14412 and OMB Memorandum M-26-15. Teams that depend on RSA should read IR 8547 first, since it maps which standards are affected and what replaces them.

The replacements themselves are defined in three final standards published on 13 August 2024: FIPS 203 (ML-KEM, for key encapsulation), FIPS 204 (ML-DSA, for digital signatures) and FIPS 205 (SLH-DSA, a stateless hash-based signature scheme derived from SPHINCS+). Each standard is a separate document with its own parameter sets, so confirm which parameter set and which standard version your products implement before comparing them against IR 8547. The sources listed on this page do not say how any specific vendor product implements these standards, so check each vendor's documentation for that.

These are US federal documents. They apply directly to federal agencies and to national security contexts, and they are not binding obligations on commercial organizations unless a contract requires them, such as a federal customer contract that names them. A commercial organization can use them as a technical reference for planning. The sources on this page also do not establish that the integer factorization problem is broken for classical attackers, so the guidance should be read as a migration signal rather than a statement that current RSA deployments are already unsafe. Confirm with your contracts or compliance team whether any of these documents apply to you.

Where the integer factorization problem sits in a migration sequence

The migration starts with an inventory that finds where RSA is used, including key establishment and signatures in protocols, certificates and stored data. Each finding is then mapped to a replacement family: ML-KEM for key establishment and ML-DSA or SLH-DSA for signatures, as defined in FIPS 203, FIPS 204 and FIPS 205. The mapping then moves through testing and rollout. At the mapping step, check which parameter set each application supports, since the highest level each application supports is the stated goal. At rollout, confirm interoperability with the versions you run, because the sources do not establish that the schemes are interchangeable with RSA.

Migration sequence from RSA inventory finding through replacement, testing and rollout.

What should you check for RSA and the integer factorization problem during a migration?

This sequence identifies every RSA dependency in your environment, records what each one uses, and confirms that replacement algorithms are negotiated correctly before you rely on them. Each step produces a record that a reviewer or vendor can check.

  1. Find every RSA key and certificate

    Search your cryptographic inventory for RSA keys and certificates across TLS endpoints, code signing, VPNs, email, SSH, document signing and internal PKI. Include keys held in hardware modules and in cloud key management services, because they are easy to miss. Mark each entry with the system that owns it and the team that renews it. The step is complete when every RSA item has an owner and a location, and nothing is recorded only in someone's memory.

  2. Record key sizes and algorithms in use

    For each RSA entry, record the modulus size, the signature or key exchange algorithm, the hash function and the certificate's validity period. Note where RSA is used for key transport, where it is used for signatures and where both appear in one system, since these need different replacement decisions. Take values from the certificate or configuration itself rather than from a template. The output is a table a reviewer can sort by system, algorithm and key size.

  3. Identify systems that cannot be upgraded

    Flag devices, embedded systems, legacy appliances and applications whose vendors will not ship firmware or software that supports a replacement algorithm. Record the reason the vendor gave and the date of the last available update, if one exists. These systems need a documented plan, such as isolation, replacement or a compensating control. The step is complete when each unupgradable system has a named owner and a recorded plan.

  4. Ask vendors which replacement standard they support

    Send each vendor a written question asking which replacement standards they support, namely ML-KEM under FIPS 203, ML-DSA under FIPS 204 and SLH-DSA under FIPS 205, and in which product versions and configurations. Ask whether support is enabled by default, whether it can be run alongside RSA, and what their published roadmap is. Request the answer in writing and keep it with the inventory entry for the product. Vendor statements are claims to verify, not conclusions.

  5. Use the highest security level each application supports

    Where an application offers a choice of parameter sets, select the highest level it supports, as the Cryptography Incident Review Group's 30 November 2026 statement advises. For ML-KEM, that means comparing ML-KEM-512, ML-KEM-768 and ML-KEM-1024. Record the chosen parameter set for each system. Confirm the setting in the configuration file or admin console rather than assuming a default, and note any system that cannot reach the highest level.

  6. Plan hybrids built on different foundations

    Where you deploy a hybrid scheme that combines a lattice-based algorithm with an algorithm built on a different mathematical foundation, such as a hash-based signature, record that design in the inventory. The CIRG statement recommends hybrids of this kind so that a weakness in one foundation does not expose the whole system. Confirm with the vendor how the two components are combined and whether both must succeed. The step is complete when each hybrid is documented with its two components named.

  7. Design for fast replacement

    For each system, note how quickly you could swap in a different algorithm, and what that would require: a configuration change, a certificate reissue, a firmware update or a code change. Keep algorithm names in configuration rather than hard-coded in applications, where the product allows it. Record the expected steps for replacement so that a future change does not start from zero. The output is a replacement note per system that an architect can review.

  8. Confirm negotiation in testing

    In a test environment, connect to each upgraded system with a client that offers the new algorithm and check which one is negotiated. Verify that the handshake completes with the replacement algorithm and that the system falls back to RSA only where you have documented that fallback. Capture the test output and the client and server versions. The step is complete when every upgraded system has a recorded test result showing the negotiated algorithm.

What do people commonly confuse with the integer factorization problem?

Four points come up repeatedly when engineers and reviewers read about the integer factorization problem in vendor documents, standards and audit requests. Each one separates the math problem from the systems built on it, and from claims made about those systems. Check each against the specific standard, version or product you are assessing.

RSA is a scheme, not the problem

RSA is a public-key scheme whose security is commonly argued to rest on the difficulty of factoring large integers. Integer factorization is the underlying hard problem, while RSA is the set of key generation, encryption and signature procedures built on it. When a document says RSA is vulnerable, it means the scheme's parameters and procedures are affected under a quantum attacker, which is a different claim from the factoring problem being solved. Check which of the two a vendor or standard is actually describing before you draw a migration conclusion.

NIST IR 8547

Factoring is not discrete logarithms

Integer factorization and the discrete logarithm problem are separate hard problems, and they underpin different algorithms. Many classic key exchange and signature schemes depend on discrete logarithms, including the elliptic curve variant, while RSA depends on factoring. Quantum attacks on one family do not automatically describe the other, so an inventory that lists only RSA can miss systems that use discrete logarithms. Ask each product owner which problem its primitives rely on, and record the answer per component.

NIST CSRC glossary

Classical hardness is not quantum resistance

A problem can be hard for classical computers and still be vulnerable to a quantum computer. The security of factoring-based schemes against classical attackers is a separate question from their security against a quantum attacker, which is the question post-quantum migration addresses. A statement that a key length is strong does not, on its own, answer how that key length fares under a quantum attack. Confirm which threat model a security claim covers before you accept it as evidence for migration planning.

Quantum safe claims for RSA

Vendor material sometimes describes RSA-based products as quantum safe, and reviewers should not accept that wording as a finding. Quantum safe is a term readers search for, not a verified property of a product, and no standard body names RSA as a post-quantum algorithm. Ask the vendor which standard, version and configuration the claim applies to, and whether any independent assessment covers it. Treat the answer as a question to confirm, not as a conclusion about the product.

NIST FIPS 203

Common questions about the integer factorization problem

What does the integer factorization problem mean?

The integer factorization problem is the task of taking a large whole number and finding the prime numbers that multiply together to produce it. Classical computers find those primes slowly as the number grows, and that difficulty is what RSA relies on. Multiplying two large primes is quick, but reversing the step is not, so a public key can be shared while the private key stays hidden. Engineers should treat the problem as the assumption under the scheme, not as a fact that has been proven. Its difficulty against a quantum computer is a different question, covered in the items below.

Is the integer factorization problem the same as RSA?

No. The integer factorization problem is the mathematical problem, and RSA is a cryptographic scheme built on it. RSA uses the difficulty of factoring a large modulus to protect key exchange and digital signatures. Other schemes rest on different hard problems, such as the discrete logarithm problem or the module learning with errors problem used by ML-KEM. When a document says a product uses RSA, it means that product depends on factoring being hard, along with the padding, key sizes and parameters the implementation chooses. Confirm the exact algorithm and parameters in the vendor's documentation for the version you run.

Is the integer factorization problem a standardized algorithm?

The integer factorization problem itself is a mathematical problem and is not standardized as an algorithm. The standards that use it are the classical ones, such as RSA specifications, which are defined by other documents. NIST's post-quantum standards are a different set. FIPS 203 specifies ML-KEM, which rests on the module learning with errors problem, not on factoring. FIPS 204 specifies ML-DSA for digital signatures, and FIPS 205 defines SLH-DSA, derived from SPHINCS+. All three were published as final standards on 13 August 2024. Check the relevant standard directly for its exact scope and definitions.

Do our products rely on integer factorization?

The sources listed on this page do not say which products use integer factorization. To find out, inventory where your systems use RSA. Check TLS certificates and their key types, SSH host and user keys, code-signing and document-signing keys, VPN and identity provider configurations, and hardware security modules. Vendor documentation usually states the key exchange and signature algorithms for each version. Some products can use RSA for one function and elliptic curve cryptography for another, so review each function separately. Ask each vendor to confirm this in writing for the version you run.

How does the quantum threat change factoring-based security?

The sources listed on this page describe the quantum threat to the integer factorization problem only in general terms, and they do not give timing or the resources an attack would need. Quantum computers are a known risk to the factoring problem, which is why NIST's transition guidance covers the algorithms that rely on it. NIST IR 8547, published as a final report on 27 October 2026, identifies quantum-vulnerable standards and the replacements products and services will need to adopt. The practical step is to inventory factoring-based uses and plan their replacement, since a future quantum computer could break the underlying assumption for keys and data that remain sensitive over time.

Should we treat the factoring problem as proven hard?

No. The difficulty of factoring is a hardness assumption, meaning it is believed to be hard but has not been proven so. That belief is what gives RSA its security, and the security estimate is a measure of the work an attacker would need. The Cryptography Incident Review Group's statement of 30 November 2026 concerns module-lattice problems, not factoring, and advises readers to keep migrating, use the highest security level each application supports, and design for fast replacement. Treat any single assumption as something that can be revisited. Ask your team or vendor to state which assumptions each system depends on.

What should we ask a vendor about factoring-based security?

Ask which algorithms, key sizes and parameters each product uses for key exchange, signatures and certificates, and whether factoring-based RSA is used in any of them. Ask which versions support post-quantum options, whether those options are enabled by default, and what the migration path looks like. Ask for a written statement of which hard problem each function depends on and when the vendor plans to move each one to a standardized replacement. Request the documentation for the exact version you run, and confirm the answers with your own configuration checks, since the sources on this page do not cover any specific product.

How DeployOpen works on this

DeployOpen works with teams that need to know which of their systems depend on the integer factorization problem and what replacing that dependency involves. We scope the work in writing, build and test the changes in your own infrastructure, and hand over documentation your security and compliance teams can review.

How we scope

  • We inventory where RSA and other factorization-based keys are used in your systems, such as TLS certificates, VPN gateways and code signing.
  • We agree a fixed scope in writing that names the systems, the algorithms in use and the deliverables before any work starts.
  • We confirm with your team which security levels each application supports, so the plan reflects what NIST FIPS 203, 204 and 205 specify.

How we build

  • We deploy and configure the components that terminate encryption in your own cloud accounts, data centers or air-gapped networks.
  • We test the changes for interoperability and fallback behavior, and confirm compatibility for the exact versions you run.
  • Where a hybrid design is chosen, we build it using mechanisms built on different mathematical foundations, as recommended in the CIRG statement of 30 November 2026.

How we hand over

  • We document the configuration, the algorithms in use and the parameter sets chosen, so your reviewers can trace each setting.
  • We provide evidence your auditors can check, such as configuration exports and test results, without issuing an audit report ourselves.
  • We train your operations team to rotate keys and replace algorithms, so the system can be updated when standards change.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the fixed-scope work is complete.
  • We track updates to NIST IR 8547 and related guidance, and flag where your configuration needs review.
  • We retest after each change so that replacement stays fast if a standard or algorithm is later found to need it.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.