# Multi-party RSA with Small e

Assuming $$e$$ is constant between the messages and the message $$m$$ is sent to at least $$e$$ people, we can use the Chinese Remainder Theorem to retrieve $$m$$.

In single-party RSA, we calculate $$c = m^e \mod N$$. Let's pretend this is extrapolated to 3 people:

$$
m^e = c\_1 \mod N\_1 \\
m^e = c\_2 \mod N\_2 \ m^e = c\_3 \mod N\_3 \\
$$

​The Chinese Remainder Theorem allows us to solve this congruence $$\mod N\_1N\_2N\_3$$. Since $$m < \min{N\_1, N\_2, N\_3}$$, we know that $$m^e < N\_1N\_2N\_3$$. Once we use the Chinese Remainder Theorem to compute $$m^e \mod N\_1N\_2N\_3$$, we just take the $$e$$th root to retrieve $$m$$.​


---

# 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://ir0nstone.gitbook.io/notes/cryptography/overview/public-exponent-attacks/multi-party-rsa-with-small-e.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.
