Cointime

Download App
iOS & Android

Secure Multi-Party Computation

Secure multi-party computation (SMPC), sometimes referred to as secure computation, multi-party computation (MPC), or privacy-preserving computation, is a transformative cryptographic method. It enables multiple parties to compute a function using private inputs and view a public output—without ever revealing their inputs to the other parties. From medical research to AI to Web3, SMPC is strengthening data privacy and fostering collaboration.

What Is Secure Multi-Party Computation?

Basic Explanation

SMPC enables “black box” functionality where many people can work on a calculation together using their private information. Even though everyone can see the result, their data is kept secret.

Intermediate Explanation

SMPC enables multiple parties to jointly compute a function using private data, keeping individual inputs confidential while still producing the correct output. It uses encryption and secret sharing to ensure privacy and security during the computation process.

Advanced Explanation

SMPC uses cryptographic primitives like secret sharing (e.g. Shamir), homomorphic encryption (e.g. Paillier, ElGamal), and zero-knowledge proofs (e.g., zk-SNARKs, zk-STARKs) to enable a given number (n) of participants each with private data (d1, d2, …, dn) to compute a public function on that data F(d1, d2, …, dn), without any participants learning information about another’s input.

SMPC protocols must ensure:

  • Privacy: No party can see or deduce private inputs from any other party.
  • Accuracy: Parties that deviate from the protocol instructions cannot force honest participants to output an incorrect result.

Why Is SMPC Important?

SMPC is important for financial transactions, medical research, distributed voting, private bidding and auctions, and AI/ML learning processes where sensitive information needs to be processed or analyzed. It enables users to protect their private information while still participating in shared systems.

History of MPC

The development of MPC can be traced back to the late 1970s with the introduction of special-purpose protocols for specific tasks. Then, in 1982, Andrew Yao formally introduced secure two-party computation, later extending it to multi-party computation. Since the late 2000s, the focus has shifted to enhancing the efficiency and practicality of these protocols for voting, signatures, auctions, and more. In the late 2010s, digital asset custodians began using MPC for securing digital assets. To further promote MPC technology, companies specializing in secure multi-party computation established the MPC Alliance in 2020.

How Does Secure Multi-Party Computation Work?

In a typical SMPC protocol, each party holds a piece of private data and wants to compute a function that requires inputs from all parties. Through the protocol, parties use privacy-preserving techniques to exchange input data, such as encryption or masked shares, and then collectively compute the function.

MPC Example

Example of MPC for calculating average hourly wages (Source)

Imagine that three coworkers Alice, Bob, and Cynthia, want to know their average hourly wage but don’t want to share their own salary with each other. First, they break their wage into four amounts that add up to their hourly earnings. Next, they keep one of those figures, and share one each with the other coworkers along with a trusted third party. Now, each party calculates the average of the numbers they received. Finally, these averages are then shared and summed to provide the average hourly wage. While they all know the average, they don’t know each other’s individual earnings.

While this example uses a relatively simple additive secret-sharing technique, you can explore a more advanced mathematical example here.

Two-Party Computation vs. Multi-Party Computation

Two-party computation is a subset of multi-party computation, which is limited to two participants. Andrew Yao introduced two-party computation to solve the famous “Millionaire’s Problem” of two millionaires who want to know who is richer without revealing their actual wealth. Two-party computation was later expanded to a multi-party format thanks to the Goldreich-Micali-Wigderson protocol.

Benefits of Secure Multi-Party Computation

SMPC provides an array of benefits for individuals, developers, organizations, and research groups: 

  • Enhanced Security: Better protection against data breaches by maintaining data confidentiality throughout the computation process.
  • Data privacy: Users can keep their data confidential while allowing third parties to use it in their applications, research, voting mechanisms, and more.
  • Regulatory compliance: Organizations can meet data protection regulations (e.g., GDPR, HIPAA) by processing sensitive data without exposing it, reducing the risk of non-compliance.
  • Collaboration: Researchers and institutions can securely aggregate and analyze data from multiple sources without compromising privacy, fostering cross-institutional collaboration and knowledge sharing.
  • Highly accurate: Results meet accuracy levels needed for high-value use cases.
  • Quantum-safe: Breaking up data and distributing it among participants makes it secure against quantum attacks. 
  • Advanced functionality: Applications can provide users with advanced functionality without compromising on security.

SMPC For Web3

MPC-Based Web3 Wallets

MPC enables multiple custodians to each use part of a private key to sign a transaction (Source)

In an MPC-compatible blockchain environment, the private keys of a Web3 wallet can be divided (sharded) among multiple parties. To execute any function, a minimum number of participants holding key shards must participate. This enhances the security and control for wallet operations.

For example, custodians use MPC-based Web3 wallets to secure digital assets and sign transactions. These wallets split a private key into multiple parts and then use MPC when they want to sign a transaction.

MPC vs. Multisig Wallets

Mult-sig wallets require multiple private keys to sign a transaction (Source)

Similar to the multi-signature signing process, MPC can play a key role in enabling multiple entities to jointly secure tokenized assets. While a multisig wallet relies on multiple private keys to sign a transaction, an MPC wallet splits a single key into multiple smaller parts and distributes them to each custodian.

Privacy-Preserving Computation

The open design of public blockchains like Ethereum means smart contracts are public for anyone to read, and their inherently isolated nature can limit functionality. While data could be computed off-chain in centralized servers, this would undermine the security guarantees that blockchains provide. By computing data off-chain in a highly secure and deterministic manner, Web3 protocols can access computation that provides both advanced functionality and confidentiality.

Read more: https://blog.chain.link/secure-multi-party-computation-mcp/

Comments

All Comments

Recommended for you

  • ZachXBT Questions Low Bounty for XRP Ledger: $250,000 Insufficient to Incentivize White Hats

    On October 12, on-chain investigator ZachXBT publicly criticized the XRP Ledger Foundation's handling of recent security vulnerabilities and its bounty mechanism. ZachXBT stated that for a serious vulnerability that could lead to unlimited issuance of XRP, the official organization with billions in reserves only offered a $250,000 bounty to the white hat hacker who responsibly reported the issue. He believes that such a low reward mechanism fails to incentivize security personnel and may instead encourage future attackers to exploit high-risk vulnerabilities for hundreds of millions in profit, directly stating that this approach undermines industry trust in both the XRP Ledger and Ripple. Previously, the XRP Ledger Foundation announced that the recent security vulnerabilities had been fixed and that no additional XRP had been issued.

  • SkyAI Plans $201 Million Cash Tender Offer, Rejects Forward Industries Acquisition Proposal

    On October 12, Solana Treasury company SkyAI (SKYA) announced its plan to initiate a cash tender offer to acquire up to 95% of its outstanding common stock and warrants at $3 per share, involving approximately 46.4 million shares of common stock and about 20.7 million warrants, for a total amount of approximately $201 million. The company expects to fund this offer using existing cash and proceeds from the sale of its Solana assets. The tender offer is expected to launch on Thursday and last for 10 business days, although it may be delayed or terminated early. Additionally, SkyAI's board has rejected a non-binding all-stock acquisition proposal from Forward Industries (FWDI), which suggested exchanging 0.306 shares of Forward Industries stock for each share of SkyAI stock, as the board believes it undervalues the company.

  • Ukrainian President Zelensky: We Are Ready to Sign a Ceasefire Guarantee Agreement

    Ukrainian President Zelensky: We are ready to sign a ceasefire guarantee agreement.

  • Wu Qing to Attend 2026 Financial Street Forum Annual Meeting and Deliver Keynote Speech

    On October 12, during the press conference for the 2026 Financial Street Forum Annual Meeting, Wang Li, Deputy Director of the General Office of the China Securities Regulatory Commission (CSRC), announced that CSRC Chairman Wu Qing will attend the opening ceremony of the forum on October 19 and deliver a keynote speech. Additionally, several other CSRC leaders and heads of relevant departments and systems will also participate in related activities of the forum. Wang Li introduced that on October 21, the CSRC will host a main forum focused on 'Building First-Class Investment Institutions to Serve the High-Quality Development of Capital Markets and Share New Investment Opportunities in China.' The main forum will include leadership speeches and keynote presentations, as well as two roundtable discussions, which will cover nurturing and expanding patient capital and long-term investment opportunities in China's capital market under bilateral openness. Experts from well-known domestic and international industry institutions will be invited to discuss topics such as industry empowerment, investment trends, compliance development, and international cooperation.

  • Coinbase Bitcoin Premium Index Remains Negative for 19 Consecutive Days

    As of October 12, according to Coinglass data, the Coinbase Bitcoin Premium Index has remained negative for 19 consecutive days, currently reported at -0.12%, marking a recent low and indicating a persistent weakness in purchasing power in the U.S. market. This index measures the difference between the Bitcoin price on Coinbase and the global market average price. A negative premium typically reflects significant selling pressure in the U.S. market, a decline in investor risk appetite, increased market risk aversion, or capital outflows.

  • Hyperliquid Leads Perpetual DEX Volume with $48.1 Billion in Last 7 Days

    On October 12, according to statistics from Hyperliquid Daily (@HYPERDailyTK), Hyperliquid ranked first in nominal trading volume among perpetual contract decentralized exchanges (Perp DEX) over the past 7 days, with $48.1 billion. Kalshi followed with $14.9 billion, trade.xyz with $12.2 billion, Lighter with $11.7 billion, Aster with $10.8 billion, GMX with $8.8 billion, edgeX with $6.4 billion, Polymarket with $4 billion, Ondo Finance with $1 billion, and fomo with $852.5 million.

  • Hong Kong to Launch Second Spot Solana ETF on October 13

    On October 12, according to official news from Solana, Hong Kong will welcome its second spot Solana ETF, the Pando Solana ETF (2831.HK), which is set to be listed on the Hong Kong Stock Exchange on October 13. Solana reported that the global net asset size of spot SOL ETFs currently stands at $1.9 billion, with a cumulative net inflow of $1.61 billion.

  • BTC Surpasses $84,000

    Market data shows that BTC has surpassed $84,000, currently priced at $84,004.27, with a 24-hour increase of 1.25%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Ethereum Foundation-Linked Wallet Transfers 4,393 ETH to Kraken Worth $11.13 Million

    On October 12, on-chain analyst Yu Jin reported that 4 hours ago, two wallets associated with the Ethereum Foundation transferred 4,393 ETH (valued at $11.13 million) to the trading platform Kraken. The wallet that sent the ETH today received 59,751 ETH from the Ethereum Foundation wallet 10 years ago, of which 49,751 ETH has been gradually transferred to Kraken over the past decade at an average price of approximately $658.

  • Web3 data and AI company Validation Cloud completes $10 million in new round of financing

     Web3 data and AI company Validation Cloud announced a $10 million financing round from True Global Ventures. The company plans to use the funds to expand its AI products and achieve seamless access to Web3 data.