A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Secure Multi-Party Computation

Research Depth 101 in the knowledge graph ☐ I know this ☆ Set as goal
1topic build on this
542prerequisites beneath it
See this on the map →
Commitment SchemesOblivious Transfer+1 more→→Multi-Party Computation
mpc secure-computation ideal-real-paradigm bgw-protocol honest-majority

Core Idea

Secure multi-party computation (MPC) allows n parties, each holding private input x_i, to jointly compute a function f(x_1,...,x_n) such that each party learns only the output and nothing about others' inputs beyond what the output implies. Security is defined by the ideal/real paradigm: the real protocol must be indistinguishable from an ideal world where a trusted third party collects inputs and distributes outputs. MPC is feasible for any function: with honest majority, information-theoretic security is achievable (BGW protocol); without honest majority, computational security is achievable using oblivious transfer. Applications include private auctions, joint statistical analysis, and threshold key management.

Explainer

Secure multi-party computation (MPC) addresses a fundamental question: can multiple parties compute a joint function of their private inputs without trusting anyone — not each other, not a central server, not any individual participant? The answer, remarkably, is yes. MPC protocols enable n parties, each holding a secret input, to compute any agreed-upon function and learn only the output, with the guarantee that the protocol reveals nothing about any party's input beyond what the output logically implies.

Security is defined via the ideal/real paradigm. In the ideal world, a perfectly trusted third party collects all inputs, computes the function, and returns the output — this is maximally secure because the only information anyone learns is the output. In the real world, parties run a cryptographic protocol with no trusted party. The protocol is secure if no efficient adversary can distinguish the real-world execution from the ideal world. This definition automatically captures every conceivable security property (privacy, correctness, input independence, fairness) without enumerating attacks — if the real and ideal worlds are indistinguishable, any property that holds in the ideal world also holds in the real one.

Two foundational results establish MPC's feasibility. Yao's garbled circuits (1986) solve the two-party case: one party converts the function into a Boolean circuit and "garbles" it — replacing wire values with random labels and encrypting truth tables. The other party evaluates the garbled circuit using their input labels (obtained via oblivious transfer) without learning intermediate wire values. The BGW protocol (1988) handles the multi-party case with honest majority using Shamir secret sharing: each party distributes shares of their input, and the function is computed on shares. Addition is free (add shares locally); multiplication requires one round of communication using the honest majority to reconstruct intermediate products securely. With honest majority, BGW achieves information-theoretic security — no computational assumptions needed.

MPC has moved from theory to practice over the past decade. Deployment scenarios include private auctions (bidders submit sealed bids; the protocol determines the winner without revealing losing bids), medical research (hospitals compute statistics across patient databases without sharing records), financial regulation (banks demonstrate compliance without revealing proprietary trading data), and threshold key management (a signing key is split among n parties, and t of them must cooperate to sign). Protocol efficiency has improved dramatically: modern MPC systems process millions of gates per second using optimized garbled circuits, oblivious transfer extensions, and preprocessing models that move expensive computation offline. While still orders of magnitude slower than direct computation, MPC is now fast enough for many practical applications.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Boolean Type and Truth Values → Comparison Operators and Boolean Tests → Logical Operators and Boolean Algebra → Boolean Algebra and Fundamental Laws → Logic Gates Fundamentals → Implementing Boolean Functions with Gates → Karnaugh Map Simplification → Combinational Circuit Design → Flip-Flops and Latches → Finite State Machines (FSMs) → Deterministic Finite Automata (DFA) → Nondeterministic Finite Automata (NFA) → Two-Way Finite Automata → NFA to DFA Conversion (Subset Construction) → DFA Properties and Minimization Algorithms → Regular Languages: Definition and Characterization → Context-Free Grammars (CFGs) → Pushdown Automata (PDA) → Equivalence of CFGs and Pushdown Automata → Closure Properties of Context-Free Languages → Limitations of Context-Free Languages → Pumping Lemma for Context-Free Languages → Turing Machines → Variants of Turing Machines and Equivalence → Nondeterministic Time Complexity and NP → The P vs. NP Problem → Complexity Class P: Polynomial Time → Hash Functions and Collision Resistance → The RSA Cryptosystem → Computational Hardness Assumptions → One-Way Functions → Zero-Knowledge Proofs → Secure Multi-Party Computation

Longest path: 102 steps · 542 total prerequisite topics

Prerequisites (3)

Leads To (1)