# MPC

## &#x6E;**-Party MPC**

$$
\mathsf{MPC}\_n(f, w\_1,  \dots, w\_n, x) \rightarrow f(w\_1, \dots, w\_n, x)
$$

**n-Party MPC (Multi-Party Computation)** is a cryptographic protocol that allows $$n$$ **parties to jointly compute a function** $$f(w\_1, \dots, w\_n, x)$$ over their respective private inputs **without revealing them to each other**.

In other words:

* For $$1 \le i \le n$$, **each party** $$p\_i$$ holds a secret input $$w\_i$$
* A shared input $$x$$ is known to every party
* They compute $$f(w\_1, \dots, w\_n, x)$$ **without disclosing their inputs**

This approach is designed for **privacy-preserving computation in security-sensitive environments**, enabling collaboration without compromising data confidentiality.

Notation for $$f$$ without a shared input is as follows:

$$
\mathsf{MPC}\_n(f, w\_1,  \dots, w\_n) \rightarrow f(w\_1, \dots, w\_n)
$$


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fractalyze.gitbook.io/intro/introduction/notations-and-definitions/mpc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
