MPC vs HSM: Which Key Management Approach Secures Your Enterprise?
Feb 25, 2026
ArticleMPC vs HSM for key management: where the key lives, single points of failure, latency, certification, cost drivers and when to choose each or both.
Read article
How threshold cryptography protects keys: t-of-n shares, signing without rebuilding the key, the key lifecycle, NIST's threshold work and when to use it.
Threshold cryptography key management splits a cryptographic key into shares held by several independent parties, so that any t of the n parties can sign or decrypt together, while fewer than t can do nothing. Done properly, the full key is never rebuilt, not when it is generated, not when it is used. It removes the single place where a key can be stolen, copied or seized.
NIST describes threshold schemes as applying "principles of secure multiparty computation (MPC)" to cryptographic primitives (NIST Multi-Party Threshold Cryptography project). In key management, that means the key behaves like one key to the outside world (one public key, one signature, one decryption), while custody is spread across people, machines, data centres or organisations.
The two ideas are often mixed up.
Secret sharing splits a secret into pieces. Adi Shamir's 1979 scheme (How to Share a Secret) uses polynomial interpolation: any k pieces rebuild the secret, and k − 1 pieces reveal nothing about it. To use the secret, you have to put it back together somewhere.
Threshold cryptography goes further. The parties run a joint protocol that produces the result (a signature, a decrypted value, a wrapped key) directly from their shares. The secret is never put back together.
The difference matters for key management. HashiCorp Vault and OpenBao use Shamir secret sharing for their default seal: operators submit shares, and the unseal key is rebuilt in the server's memory. That protects the key at rest, not in use. A threshold scheme protects it in use as well.
Take a 2-of-3 setup, the most common pattern in enterprise key management.
What this buys you:
NIST SP 800-57 describes keys moving through pre-operational, operational, post-operational and destroyed phases (SP 800-57 Part 1). Each step of that lifecycle looks different with threshold keys:
| Phase | Single-holder key (HSM or KMS) | Threshold key |
|---|---|---|
| Generation | Inside one module | Distributed key generation; the full key never exists |
| Storage | One module or cluster, often with an exported backup | Each share stored separately, under different administrators |
| Use | The module performs the operation | t parties run a joint protocol |
| Backup and recovery | Encrypted export or HSM cloning | Shares backed up separately; a lost share can be replaced by resharing |
| Rotation | New key, re-encrypt or re-sign | New key, or refresh shares while the public key stays the same |
| Revocation and destruction | Delete in the module | Revoke in the policy layer; destroying enough shares makes the key unusable |
Share refresh is the part with no equivalent in a single-holder model. The parties can replace their shares with new ones that still define the same key. A share stolen before the refresh becomes useless after it, so an attacker has to break t nodes within one refresh period rather than over years.
| Approach | Where the key lives | Single point of compromise | What verifiers see |
|---|---|---|---|
| HSM | Whole key inside one certified module (or cluster) | The module and its administrators | Ordinary signatures |
| Shamir secret sharing | Shares at rest; key rebuilt in memory to use | The machine where it is rebuilt | Ordinary signatures |
| Multisig | Several independent keys, each complete | Each key is a target on its own; the policy needs t of them | t separate signatures and a policy |
| Threshold cryptography (MPC) | Shares only; key never rebuilt | None below the threshold | One ordinary signature |
Multisig is common in blockchains, where the ledger checks several signatures. Outside blockchains, most systems (TLS, X.509, code signing, cloud KMS APIs, PKCS#11 applications) expect a single key and a single signature. Threshold cryptography gives them exactly that, which is why it suits enterprise key management. The broader HSM comparison is in MPC vs HSM.
NIST has been working on threshold schemes since its 2019 report NIST IR 8214, which looked at the challenges of standardizing and validating threshold cryptography. Its Multi-Party Threshold Cryptography (MPTC) project:
Source: NIST MPTC project page.
In short: the building blocks (the signature algorithms, AES, the security proofs) are well studied, but there is no NIST standard for threshold schemes yet. Today, buyers assess threshold products on the published protocol, independent reviews, and the vendor's certifications for the service as a whole. If a regulation names a specific certified hardware module, threshold cryptography can sit alongside it rather than replace it.
It fits less well where an operation needs the lowest possible latency inside one data centre, because every operation involves network messages between nodes.
Choose t and n for both risks. A higher t makes theft harder; a higher n − t makes outages easier to survive. 2-of-3 is a common balance. 3-of-5 suits cases with more parties.
Make the parties really independent. Elliptic's guide to threshold key management makes the point that weak programmes usually fail through organisational lapses rather than weak cryptography (Elliptic). Three nodes run by the same administrator, with the same credentials, on the same cloud account, behave like one.
Plan recovery before you need it. Decide how a lost share is replaced, who approves it and how it is logged.
Keep policy outside the nodes' callers. Limits, approvals and allow-lists should be enforced where the shares live, not inside the application that requests the operation.
Check the network path. Nodes must reach each other with low and stable latency. Test under load and during a node failure.
DuoKey builds its key management on multi-party computation with threshold operations:
Q: What is threshold cryptography in simple terms?
It is a way to split a key among several parties so that a minimum number of them (the threshold) must work together to use it. Fewer than the threshold can do nothing, and the key is never assembled in one place.
Q: Is threshold cryptography the same as MPC?
Threshold cryptography is a specific use of multi-party computation: the parties jointly compute a cryptographic operation (signing, decryption, key generation) on a shared key. MPC is the broader field of computing any function on private inputs.
Q: How is it different from Shamir's Secret Sharing?
Shamir's scheme splits a secret into shares, but the secret must be rebuilt before it can be used. Threshold cryptography performs the operation directly on the shares, so the key is never rebuilt, even during use.
Q: Is threshold cryptography standardized?
Not yet as a NIST standard. NIST published its First Call for Multi-Party Threshold Schemes (NIST IR 8214C) in January 2026 and is collecting submissions for signatures, encryption, key generation and other primitives. The underlying algorithms, such as ECDSA, EdDSA and AES, are standardized.
Q: What threshold should I choose?
2-of-3 is the usual starting point: one share can be lost or compromised without losing the key or exposing it. Use a larger setup, such as 3-of-5, when more independent parties must be involved.
Q: Does threshold cryptography replace an HSM?
For many key management tasks it removes the need for one appliance that holds the whole key. Where a regulation requires a specific certified hardware module, the two are used together: some keys stay in the HSM, others are held with MPC.
Written by
DuoKey Team
Related Resources
Tell us where control is difficult today. We will help you identify a practical next step.