# The multi-party decryption problem

**URL:** <https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714>\
**Category:** FHE Questions\
**Created:** [July 23, 2023, 3:17pm UTC](https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714 "2023-07-23T15:17:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenan](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kenan](https://openfhe.discourse.group/u/kenan)\
**Post date:** [July 23, 2023, 3:17pm UTC](https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714/1 "2023-07-23T15:17:52Z")

</div>

The multi-party encryption problem is that all parties need to send the private key to the server for decryption, and the private key received by the server is a situation where the key is leaked. Is there a way to avoid this situation。

---

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [July 24, 2023, 3:02pm UTC](https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714/2 "2023-07-24T15:02:22Z")

</div>

The typical solution to this is threshold FHE (another solution is multiparty FHE), where the `secret key` is secret-shared between multiple parties (and neither one has the full secret key). Please watch [Homomorphic Encryption for OpenFHE Users – OpenFHE.org](https://www.openfhe.org/portfolio-item/homomorphic-encryption-for-palisade-users-5/) to learn more about this.

---

<div class="post-metadata">

**Author:** ![kenan](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kenan](https://openfhe.discourse.group/u/kenan)\
**Post date:** [July 26, 2023, 1:23pm UTC](https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714/3 "2023-07-26T13:23:10Z")

</div>

I have looked at the code from multiple parties and what I want to ask is that the server sends the ciphertext to each client in the end, and each client decrypts it with their own private key. Then, each client transmits the decrypted ciphertext with the private key to each other, and finally, each client aggregates the received ciphertext and obtains the result. I think this is the case, right.

---

<div class="post-metadata">

**Author:** ![iquah](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/iquah/32/8_2.png) [@iquah](https://openfhe.discourse.group/u/iquah)\
**Post date:** [July 26, 2023, 3:27pm UTC](https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714/4 "2023-07-26T15:27:58Z")

</div>

I’m not sure if you’re being fast-and-loose with your terminology, but I don’t think that’s correct. The video does not mention sending secret keys to one another as part of the decryption. You should watch the video

---

<div class="post-metadata">

**Author:** ![kenan](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kenan](https://openfhe.discourse.group/u/kenan)\
**Post date:** [July 27, 2023, 2:32am UTC](https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714/5 "2023-07-27T02:32:41Z")

</div>

What I’m talking about is that after the server operates on the ciphertext, it sends it to various clients. The clients partially decrypt it with their own private key, and then the clients share the partially decrypted information with each other. Then, each client concatenates the shared ciphertext to obtain the decryption result, right？Do I understand correctly？

---

<div class="post-metadata">

**Author:** ![kenan](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kenan](https://openfhe.discourse.group/u/kenan)\
**Post date:** [July 27, 2023, 3:15am UTC](https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714/6 "2023-07-27T03:15:13Z")

</div>

I have already seen that ppt ,not video.I have a understand as follow.

---

<div class="post-metadata">

**Author:** ![iquah](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/iquah/32/8_2.png) [@iquah](https://openfhe.discourse.group/u/iquah)\
**Post date:** [July 27, 2023, 4:52am UTC](https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714/7 "2023-07-27T04:52:37Z")

</div>

Again, watch the video. Yuriy covers it in the video and walks through an example script.

---

<div class="post-metadata">

**Author:** ![Caesar](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/caesar/32/63_2.png) [@Caesar](https://openfhe.discourse.group/u/Caesar)\
**Post date:** [July 27, 2023, 6:23pm UTC](https://openfhe.discourse.group/t/the-multi-party-decryption-problem/714/8 "2023-07-27T18:23:39Z")

</div>

This is a better understanding. The usage of “partial decryption” is better than “decryption” as in your previous comment. Note that partial decryption is also known as secret sharing.
