What is public-key cryptography?

Public-key cryptography uses a paired private and public key so parties can establish shared secrets and verify signatures. Here is what it is, where it appears and what it means for post-quantum migration.

On this page

What is public-key cryptography and why does it matter for quantum attacks?

If you met the term public-key cryptography in a vendor document, a standard, or an audit request, the short answer is this: according to the NIST glossary, which cites NISTIR 8202, public-key cryptography (also called asymmetric-key cryptography) is a system where each user has a private key that stays secret and a public key, generated from the private key, that can be shared freely. The same glossary says a user can sign data with their private key, and anyone holding the matching public key can verify that signature. In practice, this pair of keys is used for two jobs: establishing shared secrets and creating digital signatures.

Quantum attacks target this layer because the hard mathematical problems that protect the private key today are the ones a sufficiently large quantum computer is expected to solve. Post-quantum cryptography is the set of replacement algorithms designed to resist those attacks. NIST's three post-quantum standards cover both jobs: FIPS 203 (ML-KEM) is a key-encapsulation mechanism for key establishment, while FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) are digital signature standards. Symmetric cryptography, by contrast, uses one shared key and is affected less directly, so the public-key side is where the migration work is concentrated.

Several roles meet this term in their daily work: security architects reviewing TLS and SSH configurations, PKI and certificate teams handling X.509 algorithm identifiers, procurement and vendor-risk reviewers reading product claims, and auditors checking inventories. A practical first step is to list where your systems use public-key algorithms for key exchange and for signatures, since those are the two places a vendor's post-quantum support will be tested. Confirm which versions of each product implement the post-quantum options, because support differs by release and by component.

Which names and identifiers mean public-key cryptography in standards and products?

This table lists the names, standard numbers and earlier submission names that sources use for public-key cryptography and its post-quantum counterparts. Use it to match a term in a vendor document or standard to the concept it refers to. Names are listed as each source gives them, and the table does not claim that one name equals another beyond what the sources say.

Name or identifierSourceWhat the source says it refers to
Asymmetric-key cryptographyNIST glossary, citing NISTIR 8202A system where each user holds a private key kept secret and a public key that can be shared freely
Public-key cryptographyNIST glossary, citing NISTIR 8202Given in the same entry as asymmetric-key cryptography, as an alternative name for it
Traditional algorithmRFC 9794An asymmetric algorithm based on integer factorisation, finite field or elliptic curve discrete logarithms, or related problems; also called classical, conventional or pre-quantum
FIPS 203 ML-KEMNIST, final standard 13 August 2024A key-encapsulation mechanism, used for key establishment
FIPS 204 ML-DSANIST, final standard 13 August 2024A digital signature standard
FIPS 205 SLH-DSANIST, final standard 13 August 2024A digital signature standard
CRYSTALS-KyberNIST announcement, August 2024Original submission name the announcement lists for ML-KEM
CRYSTALS-DilithiumNIST announcement, August 2024Original submission name the announcement lists for ML-DSA
Sphincs+NIST announcement, August 2024Original submission name the announcement lists for SLH-DSA

Where do practitioners meet public-key cryptography in TLS, SSH and certificates?

Public-key cryptography appears in your environment wherever two parties agree a key, prove identity or sign something. The four places below are where post-quantum changes most often reach practitioners first, and each one depends on the version you run.

TLS 1.3 key exchange

In TLS 1.3, the client and server negotiate a key exchange group through the supported_groups extension, then send their public key shares in the key_share extension. RFC 8446 defines both, in sections 4.2.7 and 4.2.8. These are the fields a post-quantum group name would appear in during a handshake, so they are the first place to look when you check what a server offers. Confirm the TLS library version you run, since support depends on the build.

RFC 8446 text

Hybrid TLS groups

Hybrid groups pair a classical key exchange with a post-quantum KEM in one handshake. RFC 10024 registers three of them for TLS 1.3: X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. The client share for the largest group is 1665 bytes, made up of 97 bytes for secp384r1 and 1568 bytes for ML-KEM-1024, so expect larger handshake messages. Check whether your load balancers and middleboxes accept these larger key shares.

RFC 10024 text

X.509 algorithm identifiers

Certificates carry an algorithm identifier that tells a relying party which key and signature algorithm are in use. RFC 9935 defines these identifiers for ML-KEM, and RFC 9881 defines them for ML-DSA. Both are Proposed Standards, so your certificate authority and client software must recognize the identifiers before a post-quantum certificate can validate. Ask your CA whether it issues certificates with these identifiers and which versions of your verifiers accept them.

RFC 9935 record

OpenSSL 3.5.0 hybrid groups

OpenSSL 3.5.0, released 8 April 2025, added the three hybrid TLS groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. Its TLS signature algorithm defaults also list all three ML-DSA variants first. If you run OpenSSL, confirm your deployed version is 3.5.0 or later and check your configuration, because older 3.x releases do not provide these groups.

OpenSSL 3.5 changes

OpenSSH 10.0 key agreement

OpenSSH 10.0, released 9 April 2025, uses mlkem768x25519-sha256 as its default key agreement method. OpenSSH 10.1 goes further and warns by default when a client connection negotiates a key agreement that is not post-quantum. Review your sshd and ssh configuration if you depend on a specific key exchange, and confirm which OpenSSH version each host and client runs before assuming a default applies.

OpenSSH release notes

FIPS 186-5 digital signatures

FIPS 186-5, the NIST Digital Signature Standard, was finalized on 3 February 2023 and defines how digital signatures are generated and verified. It is the reference for signing code, documents and certificates, and it is the classical baseline that post-quantum signature schemes are measured against. Check which signature algorithms your signing tools and HSMs implement, and whether a given module is validated against this standard.

FIPS 186-5 final
3 Feb 2023
FIPS 186-5 text

How does a public key establish a shared key or verify a signature?

Public-key cryptography gives each party a private key that stays secret and a public key that can be shared freely. The two keys do different jobs depending on what is being done. For key establishment, a public key is used in a key-encapsulation mechanism (KEM). NIST SP 800-227 explains that a KEM lets two parties agree on a shared secret over an insecure channel, and that this secret can then power symmetric tasks such as encryption and authentication. The shared secret, not the public key itself, is what protects the traffic that follows. For a migration, this means the public-key step is only the handshake: the bulk of the data protection runs on symmetric keys derived from it.

For signatures, the roles are reversed in use. The NIST glossary, citing NISTIR 8202, says a user signs data with their private key, and anyone holding the matching public key can verify that signature. FIPS 186-5, the NIST Digital Signature Standard published as final on 3 February 2023, defines how those signatures are generated and verified. Signatures are what certificates, software updates and code signing depend on. The post-quantum counterparts are FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), and FIPS 203 (ML-KEM) covers key establishment. The three standards are separate, so a system can move its key exchange and its signatures on different schedules.

Key exchange and signatures are often confused, and the difference matters when planning a migration. A product that has upgraded its key exchange has not, by that fact alone, upgraded its certificates or signature verification, and the reverse is also true. Confirm which of the two a vendor means when it claims post-quantum support, and ask for the specific algorithms, versions and components involved. The sources listed here do not say how every product pairs these functions, so check each product's documentation for its configuration.

Where the public key sits in a TLS 1.3 key exchange

The diagram starts with the client sending its key_share and supported_groups in the ClientHello, as defined in RFC 8446 sections 4.2.7 and 4.2.8. The server answers with its own key_share, and both sides derive a shared secret from the exchanged public values. That shared secret then protects the symmetric traffic that follows. A hybrid group, such as X25519MLKEM768 registered in RFC 10024, appears only when both parties support it, and whether it is offered depends on the TLS library and version in use. Check the groups your client and server actually negotiate, not the groups a product page lists.

The public key values move in the handshake, and the shared secret then protects traffic.

Which standards and bodies make public-key cryptography a post-quantum migration priority?

Public-key cryptography is the part of the stack that migration planning puts first, because the signature and key-establishment schemes it relies on are the ones the official post-quantum documents replace. NIST published three final post-quantum standards on 13 August 2024: FIPS 203 for ML-KEM, a key-encapsulation mechanism, FIPS 204 for ML-DSA, and FIPS 205 for SLH-DSA, both digital signature standards. The NIST announcement of that date lists the original submission names as CRYSTALS-Kyber, CRYSTALS-Dilithium and Sphincs+, which is useful when an older vendor document uses those names. Alongside them, FIPS 186-5, final on 3 February 2023, is the Digital Signature Standard that governs how signatures are generated today, so a team inventorying signing code should check it against the newer FIPS 204 and FIPS 205 requirements.

NIST IR 8547, Transition to Post-Quantum Cryptography Standards, was published as a final document on 27 October 2026, after an initial public draft dated 12 November 2024. It describes NIST's plan for moving from quantum-vulnerable cryptography to post-quantum digital signature and key-establishment schemes, and it is the document to read when you need to understand the sequence of transition rather than the algorithms themselves. NIST also selected HQC on 11 March 2025 as a backup key-encapsulation mechanism, with a final standard expected in 2027. Teams should treat HQC as a planned future option, not a standard they can deploy now, and should confirm the status of any HQC product against the NIST announcement before accepting it in a procurement.

The UK National Cyber Security Centre uses the label quantum-safe where NIST uses post-quantum, and its quantum key distribution whitepaper states that quantum-safe cryptography is its best mitigation against the threat of quantum computers. When a UK-facing vendor or assessor uses that term, confirm which algorithms the claim refers to. None of these documents, as summarized here, makes a requirement binding on commercial organizations. Treat them as reference material for planning, and confirm with your regulator or contract counterpart whether any obligation applies to your systems.

What should an inventory capture to find public-key use before a migration?

The inventory sequence records every place a system performs key exchange or signatures, along with the algorithm and version each component runs, so you can see which parts already support post-quantum groups and which need upgrades or isolation. The output is a dated, component-level list that drives the migration plan.

  1. Identify every system that uses public-key operations

    Start by listing each system that performs key exchange or digital signatures. Cover TLS endpoints, SSH servers, certificate issuance services, code signing pipelines, VPN gateways and any application that verifies signatures. Owners of each platform, network and application team should contribute, because public-key use often hides inside appliances and libraries that nobody lists. The step is done when every system has an entry and each entry names its owner. Confirm the list against your network diagrams and certificate records, since gaps there usually mean missing endpoints.

  2. Record the algorithm and version for each component

    For each entry, record the key exchange and signature algorithms the component offers and the version of the software or firmware that provides them. Separate key exchange from signatures and certificates, because they change on different timelines and are configured in different places. Note the exact product, edition and version, since support for newer groups depends on the release. The output is a table with one row per component showing its algorithms, version and owner.

  3. Check hybrid group and ML-KEM or ML-DSA support

    Next, determine which components support hybrid key exchange groups or the NIST identifiers for ML-KEM and ML-DSA. For TLS 1.3, the relevant hybrid groups are registered in RFC 10024, and certificate algorithm identifiers for ML-KEM and ML-DSA appear in RFC 9935 and RFC 9881 respectively. For OpenSSL and OpenSSH, check the release notes for the version you run, because defaults differ between releases. Record whether each component supports, disables or has not yet implemented each group or identifier. Treat this as a check of what the vendor says the version does, not a guarantee of interoperability.

  4. Confirm vendor version support in writing

    For each component whose support you cannot verify from public documentation, ask the vendor in writing which versions support hybrid groups, ML-KEM and ML-DSA, and which configuration is required to enable them. Request the answer for the exact version you run, along with any known limits. Store the written responses with the inventory so that auditors and procurement reviewers can see the basis for each entry. The step is complete when every unverified component has a written answer on file.

  5. Flag components that cannot be upgraded

    Mark any component that cannot be upgraded to a version with the needed support, whether because the vendor has ended support, the hardware is fixed or the software is embedded. For each flagged system, record the reason and the owner. These systems are candidates for isolation, meaning you limit their exposure through network segmentation or compensating controls until they are replaced. The output is a separate list of flagged systems with the reason each one cannot move forward.

  6. Assemble the dated inventory for review

    Bring the component table, the hybrid and identifier checks, the written vendor responses and the flagged list into one dated inventory. Give each entry a last-verified date and the name of the person who checked it. Review the inventory with the security, platform and vendor-risk owners so that gaps are closed before the migration plan is built. The step is done when a reviewer can trace each row back to a source and each flagged system has an owner and a reason.

What do readers commonly confuse with public-key cryptography?

Several terms in post-quantum guidance sound like they describe public-key cryptography but mean something different. Each card below separates one common confusion from the term itself, so you can tell which property, algorithm class or label a document is actually using.

Asymmetric and public-key are one term

NIST's glossary, citing NISTIR 8202, defines asymmetric-key cryptography as also called public-key cryptography. Each user holds a private key that stays secret and a public key that can be shared freely. The two names refer to the same system, so a document using either one is describing the same family. Check the term against the NIST glossary entry when a vendor uses one of them and the other appears elsewhere in the same material.

NIST glossary entry

Post-quantum is not a synonym for public-key

RFC 9794 defines a post-quantum algorithm as an asymmetric algorithm intended to resist attacks from sufficiently large general-purpose quantum computers as well as classical computers. The term names a design goal within the asymmetric class, not the whole class. Symmetric primitives are not described by this definition, so a post-quantum label on a product tells you the asymmetric components were chosen for that goal and nothing about its symmetric parts.

RFC 9794 text

Quantum key distribution is not a public-key replacement

Quantum key distribution is a key exchange method that relies on physics, while post-quantum public-key algorithms are mathematical schemes that run on ordinary hardware. They solve different parts of the problem and are not interchangeable. A reader who sees QKD in a proposal should ask whether it is offered in place of the public-key algorithms being standardized or as an additional mechanism, and the sibling page on QKD explains the difference.

Quantum-safe and post-quantum labels

RFC 9794 lists quantum-resistant and quantum-safe as alternative names for post-quantum algorithms, and notes that some people prefer them to signal the design goal. The NCSC's quantum key distribution whitepaper uses the label quantum-safe rather than post-quantum. These labels overlap but are not guaranteed to carry the same meaning in every document, so confirm what a specific vendor or agency means before treating two labels as equal.

NCSC QKD whitepaper

Hybrid groups carry both algorithm types

A hybrid group combines a traditional key exchange with a post-quantum one, so a single connection carries both. RFC 10024 registers hybrid TLS 1.3 groups such as X25519MLKEM768, and OpenSSL 3.5.0 added them in April 2025. Seeing a hybrid name in a configuration means the connection uses both algorithm types. Confirm which groups your version supports before assuming a connection is protected by the post-quantum half alone.

RFC 10024 text

Common questions about public-key cryptography

Is public-key cryptography the same as asymmetric cryptography?

Yes, the two terms refer to the same thing. The NIST glossary, citing NISTIR 8202, defines asymmetric-key cryptography, also called public-key cryptography, as a system where each user has a private key that stays secret and a public key generated from it that can be shared freely. The name public-key cryptography comes from the public half of each pair. In practice you will see both names in vendor documents, standards and audit requests, and they point to the same class of algorithms, which includes key establishment and digital signatures. Symmetric cryptography, where both sides share one secret key, is a different category.

Is public-key cryptography standardized, and who standardizes it?

Public-key algorithms are standardized by several bodies. NIST publishes standards such as FIPS 186-5, the Digital Signature Standard, which was finalized on 3 February 2023. For protocols, the IETF publishes RFCs; RFC 8446, which defines TLS 1.3 and was published in August 2018, carries key exchange through the supported_groups and key_share extensions. Post-quantum versions of these functions are being standardized alongside the classical ones. Check the specific standard number and version that your product claims to implement, since a product may support one algorithm in one protocol and not another.

Does my product use public-key cryptography?

Most products that use TLS, SSH, code signing, certificates or secure messaging use public-key cryptography somewhere, usually for key establishment during a connection or for signing. To confirm, ask the vendor or check your own configuration. Look for references to TLS version, certificate types, SSH key exchange methods, and digital signature algorithms. For example, OpenSSH 10.0, released on 9 April 2025, uses mlkem768x25519-sha256 by default for key agreement, which combines a post-quantum and a classical method. Your own environment, such as your TLS terminators and SSH servers, will tell you which algorithms are actually negotiated.

What do quantum attacks change for public-key cryptography?

A cryptographically relevant quantum computer, which RFC 9794 defines as a sufficiently large general-purpose quantum computer able to run Shor's Algorithm, could break traditional public-key algorithms based on integer factorization, finite field discrete logarithms, or elliptic curve discrete logarithms. Symmetric cryptography is affected differently, and the sources in this topic focus on the public-key side. The practical response is migration: replacing the affected public-key algorithms with post-quantum ones that resist both quantum and classical attacks. The NIST IR 8547 final, published on 27 October 2026, describes NIST's plan for moving to post-quantum signature and key-establishment schemes.

Do the post-quantum standards replace public-key cryptography?

No. The post-quantum standards keep the same role in a system but use new algorithms. NIST's FIPS 203 (ML-KEM) is a key-encapsulation mechanism for key establishment, and FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) are digital signature standards. All three were published as final standards on 13 August 2024. Each does the job that a classical public-key algorithm does, such as agreeing a shared secret or signing data, so the surrounding protocols and workflows stay largely the same. The new algorithms have different key and signature sizes, so check how they affect your protocols and certificates before you deploy them.

What should I ask a vendor about their public-key cryptography?

Ask which public-key algorithms the product uses for key establishment and signatures, and whether it supports post-quantum algorithms such as ML-KEM, ML-DSA or SLH-DSA. Ask which standards and versions it implements, for example whether it follows FIPS 203 or its earlier draft names. Ask whether hybrid modes are available and enabled by default, and how the product handles downgrades to classical algorithms. For TLS, ask which named groups are supported. Request the vendor's documentation or a dated roadmap instead of relying on general claims, and confirm compatibility for the exact version you run.

How long does it take to move public-key cryptography to post-quantum algorithms?

The sources in this topic do not give a duration for a migration, and the time depends on the systems in scope. Typical drivers include how many products use public-key cryptography, how many certificates and keys must be replaced, and whether each vendor has released support for the new algorithms. Start with an inventory of where public-key cryptography is used, then ask each vendor for its supported versions and upgrade timelines. Your own project plan and your vendors' written commitments are the sources to confirm this, not a general estimate.

How DeployOpen works on this

DeployOpen helps teams locate where public-key cryptography is used across their systems and plan the upgrades that matter for post-quantum readiness. Each engagement is fixed-scope, with deliverables agreed in writing before work starts, and the work happens inside your own infrastructure.

How we scope

  • We agree in writing which systems, protocols and certificates are in scope for the public-key review.
  • We identify where key exchange, digital signatures and certificates are used, since each affects upgrade planning differently.
  • We confirm which product versions and configurations you run, because support for specific algorithms depends on the version.

How we build

  • We inventory the TLS, SSH and certificate configurations that carry public-key operations in your environment.
  • We check component versions against the vendor documentation and release notes for the post-quantum options they support.
  • We test proposed configuration changes in a non-production environment before they reach production systems.

How we hand over

  • You receive a written inventory of public-key uses, with the system, protocol and version recorded for each one.
  • The deliverables include documented configuration changes and the reasoning behind each recommended upgrade.
  • We list open items where the sources do not confirm compatibility, so your team can verify them for its own versions.

How we support

  • Ongoing support is available as a retainer for upgrades, configuration reviews and follow-up testing.
  • We can repeat the inventory when systems change, so the record of public-key use stays current.
  • Support covers the components in scope at handover, and any extension to new systems is agreed in writing.

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.