Multi-Party Computation (MPC)

Several parties jointly compute something while each keeps its own input private.

Basically

Several parties can calculate a result together using their private information. No one has to reveal their information to the others.

Key Takeaways

  • Multi-party computation (MPC) lets two or more parties calculate a result from their private inputs without revealing those inputs to each other. In cryptocurrency, MPC wallets use this approach so no single device or server ever holds a complete private key.
  • Core MPC techniques include Shamir's Secret Sharing, garbled circuits, and oblivious transfer. These techniques support threshold signature schemes like FROST, which produce standard on-chain signatures from distributed key shares.
  • MPC-based signing produces single signatures that are indistinguishable from single-key spends. Compared with script-based multisig, it offers better privacy, lower fees, and cross-chain compatibility.

What Is Multi-Party Computation?

Multi-party computation (MPC) is a subfield of cryptography that lets a group jointly evaluate a function over their private inputs while keeping those inputs secret from each other. Each participant learns the output but gains no information about another participant's input beyond what the output itself reveals.

Andrew Yao introduced the concept in 1982 through the "Millionaires' Problem": two millionaires want to determine who is richer without revealing their actual net worth to each other. MPC solves this seemingly impossible task, and Yao showed that any function computable by a circuit can be securely evaluated by two parties using garbled circuits. Oded Goldreich, Silvio Micali, and Avi Wigderson later generalised the approach to any number of parties.

MPC has become foundational to modern key management in cryptocurrency and blockchain systems. Key material is distributed across multiple parties instead of entrusting one device with a complete private key, allowing them to produce digital signatures jointly without ever reconstructing the full key. This removes the single point of failure that makes traditional wallets vulnerable to theft, loss, and insider attacks.

How It Works

MPC protocols vary widely in design, but they all aim to enable collaborative computation while preserving input privacy. Three foundational techniques underpin most practical MPC systems.

Secret Sharing

Shamir's Secret Sharing (SSS), introduced by Adi Shamir in 1979, is the most widely used secret sharing scheme in MPC. It splits a secret into n shares using a random polynomial of degree k-1, where k is the threshold. Any k shares can reconstruct the secret through Lagrange interpolation, but fewer than k shares reveal absolutely nothing about it, and this information-theoretic property holds regardless of the attacker's computational power.

Secret sharing serves as both a data distribution mechanism and a computation tool in MPC protocols. Parties can add shared values without communication by adding their local shares, while multiplication requires an interactive protocol. Decomposing any function into additions and multiplications over a finite field enables general-purpose MPC.

Garbled Circuits

Yao's garbled circuits protocol enables two-party computation by encoding a Boolean circuit as an encrypted truth table. One party, the "garbler", encrypts the circuit so each wire carries a random cryptographic label rather than a plaintext bit. The other party, the "evaluator", decrypts the circuit gate by gate using the labels for both parties' inputs and learns only the final output.

Garbled circuits are particularly efficient for functions expressed as compact Boolean circuits. They require only constant rounds of communication, typically just one after setup, which helps when network latency is a concern. The circuit must be constructed and transmitted in its entirety, which can be expensive for large computations.

Oblivious Transfer

Oblivious transfer (OT) is a cryptographic primitive where a sender holds multiple values and a receiver selects one without the sender learning which value was chosen or the receiver learning the other values. In a 1-out-of-2 OT, the sender has two messages (m₀, m₁), and the receiver has a choice bit b. The receiver learns only m_b, while the sender learns nothing about b.

OT is a fundamental building block for garbled circuits, where the evaluator obtains input labels through OT, and for many other MPC protocols. Research has shown that OT is both necessary and sufficient for general secure computation. Any MPC protocol can be built from OT, and any protocol that achieves MPC can be used to construct OT.

MPC for Digital Signatures

Distributed key generation and threshold signing are the most impactful applications of MPC in cryptocurrency. The private key is split into shares across multiple parties rather than held by one entity. A threshold number of parties executes an MPC protocol to produce a valid signature without any party ever possessing the complete key.

Threshold Signature Schemes

A threshold signature scheme implements a t-of-n signing policy. Any t parties from a group of n can jointly produce a valid signature, but fewer than t cannot. The resulting signature is indistinguishable from one produced by a single signer, and the two major families used in practice are ECDSA-based and Schnorr-based schemes.

The practical difference is significant. ECDSA-based MPC signing can take hundreds of milliseconds per signature because of zero-knowledge proofs and encrypted multiplications, while Schnorr-based schemes like FROST complete in a few milliseconds under normal network conditions.

Distributed Key Generation

The group must perform a distributed key generation (DKG) ceremony before threshold signing can begin, producing key shares without any party ever seeing the complete key. Each participant generates a random polynomial and distributes evaluations to every other participant. The group's public key emerges from combining all contributions, but the corresponding private key exists only as distributed shares.

DKG is the most operationally complex phase of any MPC wallet setup. All n participants must be online simultaneously, exchange data over authenticated channels, and correctly verify each other's commitments. A failed DKG requires restarting from scratch.

MPC Wallets vs. Multisig

MPC wallets and multisig wallets both distribute signing authority across multiple parties, but they use fundamentally different mechanisms. The choice involves tradeoffs across privacy, cost, flexibility, and trust assumptions.

Multisig provides on-chain enforcement and auditability at the cost of higher fees and reduced privacy, while MPC provides efficiency and privacy at the cost of moving trust to the software layer. The research article on MPC vs. multisig custody provides a detailed analysis.

MPC Wallets

MPC wallets are the most visible application of MPC in cryptocurrency. Key shares are typically distributed in a 2-of-3 configuration between your device, the wallet provider's server, and a recovery backup, enabling familiar authentication flows such as biometrics and passwords while ensuring that neither you nor the provider can unilaterally move funds. The provider and recovery shares cooperate to restore access if you lose your device.

Major custodians and wallet-as-a-service providers use MPC architectures, including Fireblocks, Coinbase, and Fordefi. The approach has become the dominant model for institutional custody, where key shares are distributed across geographically separated hardware security modules (HSMs).

Threshold Signatures in Layer 2 Protocols

Layer 2 protocols use MPC-based threshold signatures to distribute trust across operator sets, with Spark using FROST threshold signing so operators collectively manage on-chain UTXOs. One key is held by the user, and the other is managed collectively by Spark Operators via FROST. No single operator has unilateral spending authority, the resulting transactions appear as standard Taproot spends on-chain, and the Spark Layer 2 overview provides further details.

Private Auctions and Sealed-Bid Protocols

MPC enables sealed-bid auctions where bids remain encrypted until all participants have committed. The auction outcome, including the winner and winning price, is computed without revealing losing bids to anyone. Applications include NFT auctions, on-chain governance votes, and MEV mitigation through encrypted transaction ordering.

Privacy-Preserving Analytics

MPC enables computations over sensitive data without exposing it, beyond wallets and signatures. Exchanges can jointly calculate aggregate trading volume or detect wash trading across platforms without sharing proprietary order book data. Compliance teams can perform KYC/AML checks by comparing customer data against sanctions lists without either party revealing their full dataset.

Communication Rounds

MPC protocols require multiple rounds of message exchange between participants. The number of rounds directly affects latency and is a key differentiator between protocols.

Each additional round adds a network round-trip of latency in practice. Geographically distributed parties, which are common in institutional custody, add 50 to 200 milliseconds per round. A 2-round FROST signing session completes noticeably faster than a 6-round ECDSA MPC session.

Trust Assumptions

MPC protocols differ in how many corrupt parties they can tolerate. The two main security models are based on whether corrupt parties form a minority or a majority.

Dishonest-majority protocols are preferred for cryptocurrency custody because the threat model assumes an attacker could compromise multiple parties. FROST and modern ECDSA-MPC protocols operate in this model.

Preprocessing vs. Online Phase

Many MPC protocols split computation into a preprocessing phase before the inputs are known and an online phase once inputs are available. Preprocessing generates correlated randomness that accelerates the online phase. Threshold signing can generate nonce commitments in advance, reducing the time-critical signing step to a single round of communication.

Implementation Complexity

MPC protocols are among the most complex cryptographic systems deployed in production, and ECDSA-based MPC requires Paillier encryption, range proofs, and multiple zero-knowledge proof systems. Subtle implementation errors can be catastrophic: in 2023, researchers discovered vulnerabilities in several widely deployed MPC libraries, including implementations of the GG18 and GG20 protocols, where flawed zero-knowledge proofs allowed an attacker to extract a party's key share. MPC implementations need thorough, independent auditing.

Vendor Lock-In

Most production MPC wallet solutions use proprietary protocols with no standard format for key shares or signing sessions, so key shares generated by one vendor's system typically cannot be imported into another's. This creates concentration risk, and users may face complex migration procedures if the vendor ceases operations. Open protocols like FROST, which has an IETF specification in RFC 9591, and emerging Bitcoin-specific standards like BIP 445 aim to address this problem.

Communication Requirements

MPC signing requires real-time, authenticated communication between the threshold number of parties. Network partitions, server outages, or your device going offline can prevent transaction signing entirely. Script-based multisig does not have this limitation because each signer can independently produce their signature offline and share it asynchronously via PSBT.

Off-Chain Policy Enforcement

Multisig signing policy is enforced by the blockchain, so a 2-of-3 multisig provably requires two valid signatures. MPC signing policy is enforced by the software, not the consensus layer. A vulnerability in the MPC implementation could let an attacker produce unauthorised signatures, so you must trust both the correctness of the MPC protocol and the integrity of all participating servers.

Key Share Security

MPC eliminates the single point of failure of a complete private key, but each individual key share still requires careful protection. Compromising one share in a 2-of-3 scheme means only one more share is needed to sign. Key shares should be stored with the same rigour applied to seed phrases: dedicated hardware, geographic distribution, and regular rotation via key refresh protocols.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. You should always do your own research before using any protocol or technology.

0

← All 1876 glossary terms