---
title: "Shamir's Secret Sharing — definition | Nuri Glossary"
description: "Splitting a secret into shares where any enough of them rebuild it and too few reveal nothing."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/shamirs-secret-sharing"
---

# Shamir's Secret Sharing

Splitting a secret into shares where any enough of them rebuild it and too few reveal nothing.

## Basically

In plain words, a cryptographic scheme that splits a secret into multiple shares, where any k-of-n shares can reconstruct the original secret.

## Key Takeaways

- Shamir's Secret Sharing splits a secret (such as a seed phrase) into n shares, where any k shares can reconstruct the original but fewer than k shares reveal absolutely nothing about it.
- The scheme provides information-theoretic security: unlike encryption that could theoretically be broken with enough computing power, SSS is mathematically unbreakable with fewer than k shares, regardless of an attacker's resources.
- SSS has a critical limitation compared to multisig and threshold signatures: the complete secret must be reassembled on a single device to be used, creating a window of vulnerability during reconstruction.

## What Is Shamir's Secret Sharing?

Shamir's Secret Sharing (SSS) is a cryptographic method for distributing a secret among a group of participants so that only a minimum number of them (the threshold) can reconstruct it. Published in 1979 by cryptographer Adi Shamir, the scheme uses polynomial interpolation over finite fields to guarantee that any combination of k shares recovers the secret, while any combination of fewer than k shares provides zero information about it.
In the context of Bitcoin and cryptocurrency, SSS is most commonly used to split private keys or seed phrases into multiple backup shares stored in separate locations. If one or two shares are lost, stolen, or destroyed, the owner can still recover their funds using the remaining shares. This eliminates the single point of failure inherent in storing a seed phrase as one piece of paper in one location.
The SLIP-39 standard, developed by SatoshiLabs (makers of Trezor), applies Shamir's scheme specifically to wallet backup. Instead of writing down a single BIP-39 mnemonic, users generate multiple mnemonic shares and distribute them across trusted locations or people.

## How It Works

The mathematical foundation of SSS is a property of polynomials: a polynomial of degree k-1 is uniquely determined by exactly k points. With fewer than k points, infinitely many polynomials fit the data, and every possible secret value is equally likely.

## Share Generation

To split a secret S into n shares with a threshold of k:

## Reconstruction via Lagrange Interpolation

When k shareholders come together, they use Lagrange interpolation to reconstruct the polynomial and recover f(0) = S:
All arithmetic is performed modulo the prime p. This is critical: using ordinary integer arithmetic instead of finite field arithmetic can leak information about the secret, breaking the security guarantee entirely.

## SLIP-39: SSS for Seed Phrases

The SLIP-39 standard applies Shamir's scheme to wallet backup using the finite field GF(256), the same field used in AES encryption. The scheme operates byte-by-byte on the master secret. Each share is encoded as a mnemonic phrase: 20 words for 128-bit security or 33 words for 256-bit security, drawn from a dedicated 1024-word list (separate from the BIP-39 wordlist).
SLIP-39 introduces a two-level group structure for complex trust models:
Before splitting, the master secret is encrypted via a passphrase using PBKDF2-HMAC-SHA256. Each different passphrase produces a different wallet, providing plausible deniability: there is no way to verify whether a given passphrase is "correct."

## Common Configurations

The choice of threshold (k) and total shares (n) depends on the balance between redundancy and security:
A 2-of-3 setup is the most popular for individual users: store one share at home, one in a bank safe deposit box, and one with a trusted family member. Losing any single share does not prevent recovery, and an attacker must compromise two separate locations.

## SSS vs. Multisig

Both SSS and multisig wallets address the problem of eliminating single points of failure in key management, but they operate at fundamentally different levels. Understanding the distinction is critical for choosing the right approach.
The critical difference: multisig keeps private keys permanently separate, while SSS requires the secret to exist in one place during both creation and reconstruction. This reconstruction step is the primary objection raised by security-focused custody providers: during the moment the secret is reassembled on a single device, it is vulnerable to malware, physical compromise, or side-channel attacks.
For a deeper comparison of custody architectures, see the research article on Bitcoin custody solutions compared.

## Threshold Signatures: The Best of Both

Threshold signature schemes like FROST build on Shamir's Secret Sharing for key distribution but solve the reconstruction problem. Each participant uses their Shamir share to compute a partial signature, and these partial signatures are combined into a valid Schnorr signature without any single party ever holding the complete private key.
Spark uses FROST for its operator network: the user holds one key share while independent operators collectively hold the other via FROST threshold signing. As long as one operator behaves honestly, user funds remain secure, and the resulting transactions are indistinguishable from ordinary Taproot spends on-chain.

## Use Cases


## Wallet Backup and Recovery

The primary use case for SSS in Bitcoin is splitting a seed phrase or private key into shares stored across geographically separate locations. Trezor hardware wallets implement this natively through SLIP-39 (marketed as "Shamir Backup"), and software wallets including Electrum and Sparrow support SLIP-39 share recovery.

## Inheritance Planning

SSS enables dead-man's-switch inheritance without relying on a trusted third party. A holder can distribute shares among family members or estate attorneys with a threshold that prevents any single party from accessing funds prematurely while ensuring heirs can recover the wallet after a death or incapacitation.

## Cold Storage Distribution

For cold storage setups, SSS allows distributing backup shares across multiple secure facilities. A 3-of-5 configuration across five bank vaults in different cities protects against fire, theft, and natural disaster at any two locations simultaneously.

## Organizational Key Management

Companies holding Bitcoin can use SSS (or preferably SLIP-39 with its group structure) to require multiple departments or board members to cooperate for fund access. The two-level group structure enables policies like "any 2 executives AND at least 1 compliance officer."

## Risks and Considerations


## Single Point of Failure During Reconstruction

The most significant risk with SSS is that the complete secret must be assembled on a single device to sign a transaction. During this window, the secret is exposed to any malware, keylogger, or physical attacker with access to that device. This contrasts with multisig and threshold signatures, where the complete key never exists in one place.

## Implementation Pitfalls

The difference between implementing SSS correctly and incorrectly is subtle but devastating. Notable failures include hardware wallets that used flawed random number generators for polynomial coefficients, allowing an attacker to recover the secret from fewer shares than the threshold. The Bitcoin Wiki maintains a "Shamir Secret Snakeoil" page documenting common implementation errors. Always use audited, standards-compliant implementations like SLIP-39.

## No Verifiable Secret Sharing

Base SSS has no mechanism for participants to verify that their shares are valid or consistent. A malicious dealer could distribute invalid shares that fail during reconstruction. Verifiable Secret Sharing (VSS) extensions address this by allowing participants to verify their shares without revealing any information, and FROST's distributed key generation protocol incorporates VSS.

## Share Management Burden

Each share must be stored securely, and all participants must be reachable when reconstruction is needed. Lost shares reduce redundancy, and if enough are lost, the secret becomes unrecoverable. Unlike multisig where individual keys can be rotated independently, replacing a compromised SSS share requires regenerating and redistributing all shares simultaneously.

## Incompatibility with BIP-39

SLIP-39 shares use a different wordlist and encoding than BIP-39 mnemonics. The two standards are not interconvertible: you cannot split an existing BIP-39 seed phrase into SLIP-39 shares and recover the same wallet. Users migrating from BIP-39 to SLIP-39 must transfer funds to a newly generated SLIP-39 wallet.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
