VEYRNOX · Learn · Shamir Secret Sharing

Shamir Secret Sharing

Shamir Secret Sharing is a cryptographic scheme that splits a secret into N shards such that any T of them can reconstruct the secret, but fewer than T reveal nothing. Adi Shamir published the scheme in 1979; it is provably information-theoretically secure.

How it works

The scheme uses polynomial interpolation over a finite field. The secret is encoded as the constant term of a random polynomial of degree T-1; each shard is one evaluation of that polynomial at a distinct point. Any T shards uniquely determine the polynomial (and therefore the secret), while T-1 or fewer shards are consistent with every possible secret — the leakage is exactly zero, not just computationally hard. Practical implementations use a 256-bit prime field and a small integer shard count (typically 2-of-3 or 3-of-5).

Why it matters

Shamir gives a wallet a way to survive single-point-of-failure loss without depending on a single custodian. A 2-of-3 split across device, personal cloud, and paper means loss of any one shard leaves the wallet recoverable, and no single shard reveals the seed. Compared to MPC (Multi-Party Computation), Shamir is simpler, standard, and does not require a live counterparty during signing.

Related concepts

Frequently asked questions

Is Shamir Secret Sharing quantum-resistant?

Yes. The scheme is information-theoretic; no computational assumption backs it, so quantum computers give no advantage.

What is the difference between Shamir and MPC?

Shamir splits a static key; MPC computes signatures without ever reconstructing the key. MPC needs live parties; Shamir does not.

Is Shamir the same as multisig?

No. Multisig is on-chain (multiple signatures on a transaction); Shamir is off-chain (one key, reconstructed from shards).

In Veyrnox

Veyrnox splits the seed with a 2-of-3 Shamir scheme across device, your personal cloud (iCloud today, Google Drive on Android), and a KEK-protected server shard. See the Shamir wallet page for the full recovery model.

Learn more →