Secret Sharing & Threshold Schemes
Splitting a secret into n shares so any m reconstruct it and m-1 reveal literally nothing — Shamir's polynomial scheme worked end to end, and where threshold cryptography is actually deployed.
Some keys must not have a single holder. A root CA key, a cryptocurrency cold wallet, a disaster-recovery master key, a nuclear release code — each needs distributed authority, where no one person can act alone and no one person's absence blocks everyone else. Secret sharing provides exactly this, with an information-theoretic guarantee rather than a computational one.
The trivial scheme, and why it isn't enough #
Split a secret among two parties: generate random the same length as , give one party and the other . Either share alone is a one-time pad ciphertext — perfectly uninformative. Extend to parties by XOR-ing with random strings.
This is unconditionally secure and useless in practice, because it is an all-or-nothing scheme: lose one share and the secret is gone forever. Schneier makes the point plainly — if one shareholder leaves the company with their piece, nobody can reconstruct, and the remaining holders learn nothing but the length.
Shamir's threshold scheme #
Shamir (1979) fixed this with polynomials over a finite field. An -threshold scheme produces shares such that any reconstruct the secret and any reveal nothing.
Pick a prime larger than the secret and than . To build a scheme, choose a quadratic
with random and discarded after distribution. Share is the pair . Any three shares give three equations in three unknowns; recover by Lagrange interpolation at .
That last property is what distinguishes threshold sharing from "splitting the password in half", where each half cuts the search space. Shamir's scheme is information-theoretically secure: shares give an unbounded adversary zero information, not merely insufficient computing time.
Properties and variants #
- Extensible — new shares are just more evaluations; issue one to a new holder without disturbing existing shares.
- Refreshable — periodically re-randomize keeping fixed, and redistribute. Old shares become useless, which defeats an attacker slowly collecting shares over years (proactive secret sharing).
- Weighted — give an important holder several shares. Schneier's illustration: a general holding three shares and colonels one each, in a scheme, means the general plus two colonels or five colonels can act, but neither alone.
- Blakley's scheme (1979, independent) uses intersecting hyperplanes instead of polynomials; correct but with larger shares, so Shamir's is what gets deployed.
Where this is actually used #
- Key ceremonies. Root CA and DNSSEC root KSK operations split the activation material among officers, in a filmed procedure with multiple custodians — no single person can activate the key.
- Cryptocurrency custody. Institutional cold storage splits the seed across geographies and officers; consumer wallets expose it as "Shamir backup" (SLIP-39).
- HSM administration. FIPS 140 modules commonly require of smartcards to authorize sensitive operations.
- Threshold signatures — the important modern generalization. Rather than reconstructing the key and thereby exposing it, threshold cryptography lets parties jointly produce a signature while the private key never exists anywhere. NIST IR 8214 covers this; threshold ECDSA and FROST (threshold Schnorr) are deployed in custody and validator infrastructure.
Source claims audit #
The worked example and the general framing were seeded from Applied Cryptography ch. 3.6–3.7 and 23.2.
| Claim from source | Status | Notes |
|---|---|---|
| XOR-based all-or-nothing splitting; each part alone is meaningless | current | Correct — it is a one-time pad |
| Loss of any one share destroys the secret in the XOR scheme | current | The motivation for threshold schemes |
| -threshold definition; Lagrange polynomial construction | current | Matches Shamir 1979 |
| Worked example shares | current | Recomputed; all five confirmed |
| Polynomial printed as | error in source | The five listed shares are all computed with , not 5. With the shares would be . Corrected to above |
| Weighted sharing via multiple shares (general/colonels) | current | Still the standard trick |
| Dealer ("Trent") has absolute power and may distribute nonsense undetectably | current, and under-developed | The source notes it and moves on, treating it as acceptable because the secret is the dealer's. Modern deployments do not assume a trusted dealer — added VSS above |
| Source predates threshold signatures | — | Added: the reconstruct-free generalization is what current custody systems actually use |