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

  • Trump: Iran Does Not Want to Close the Strait of Hormuz, They Want It Open

    On April 22, U.S. President Trump stated that Iran does not want to close the Strait of Hormuz; they want the strait to remain open so they can earn $500 million daily (thus, if they close it, they would lose this money). The reason Iran claims they want to close the strait is that I have completely blocked (closed) it, so they just want to 'save face.' (Jinshi)

  • Iran Agrees to Suspend Military Combat, But War Is Not Over

    On April 22, local time, in response to Trump's statement about extending the ceasefire, Iranian state television reported that Iran has emerged as the victor on the battlefield. Controlling the Strait of Hormuz is a highly valuable bargaining chip that Iran has gained in this war. Iran agrees to a suspension of military combat, but the war is not over. Additionally, Iranian state television emphasized that Iran must remain vigilant against any insinuations that it must participate in negotiations, or else the enemy will attack Iran. Even if maritime blockades are lifted, Iran's participation in negotiations must be conditional on not raising any issues that infringe upon Iran's independence and dignity, with the primary concerns being Iran's defense and missile capabilities as well as its nuclear capabilities and technology. (CCTV)

  • Kalshi and Polymarket to Offer Perpetual Futures Trading

    On April 22, following competitor Kalshi's plans to offer cryptocurrency perpetual futures trading, Polymarket has also begun to expand its perpetual futures trading business.

  • Trump Announces Extension of Ceasefire with Iran

    On April 22, U.S. President Trump posted on 'Truth Social' on the afternoon of the 21st, stating that at the request of the Chief of Staff of the Pakistan Army and the Prime Minister, the U.S. will pause military strikes against Iran and extend the ceasefire period. He also requested that Iran first propose a unified negotiation plan. During this period, the U.S. military will continue to enforce a maritime blockade against Iran while maintaining military readiness. He stated that the ceasefire will last until Iran submits a proposal and negotiations are completed, 'regardless of the outcome.' (CCTV International News)

  • BTC Falls Below $75,000

    Market data shows that BTC has fallen below $75,000, currently priced at $74,894.74, with a 24-hour decline of 1.78%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Fed Chair Nominee Waller: Independence Depends on the Fed Itself

    Fed Chair nominee Waller: I will be independent of Trump's opinions. Trump tends to call for the FOMC to cut interest rates. Independence depends on the Fed itself.

  • Digital Bank Revolut's IPO Valuation Could Reach $200 Billion

    The Financial Times reported, citing anonymous investor sources, that the UK digital bank Revolut plans to seek a valuation of $150 billion to $200 billion in its upcoming IPO, a significant increase from its previous valuation of $75 billion. The company's CEO, Nik Storonsky, also revealed that Revolut is preparing for a new round of secondary share sales in the second half of 2026, with a valuation potentially exceeding $100 billion.

  • ETH Falls Below $2300

    Market data shows that ETH has fallen below $2300, currently priced at $2299.92, with a 24-hour decline of 0.38%. The market is experiencing significant fluctuations, so please ensure proper risk management.

  • Trump: Disappointed if New Fed Chair Does Not Cut Interest Rates

    On April 21, U.S. President Trump stated: If the new Federal Reserve Chair does not cut interest rates, I will be disappointed.

  • 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.