# Implementations of multi-key FHE schemes

**URL:** <https://openfhe.discourse.group/t/implementations-of-multi-key-fhe-schemes/1179>\
**Category:** Library Questions\
**Created:** [April 9, 2024, 6:43am UTC](https://openfhe.discourse.group/t/implementations-of-multi-key-fhe-schemes/1179 "2024-04-09T06:43:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oksuman](https://avatars.discourse-cdn.com/v4/letter/o/6de8d8/32.png) [@oksuman](https://openfhe.discourse.group/u/oksuman)\
**Post date:** [April 9, 2024, 6:43am UTC](https://openfhe.discourse.group/t/implementations-of-multi-key-fhe-schemes/1179/1 "2024-04-09T06:43:25Z")

</div>

Hello.

I’m seeking the implementation of the multi-key CKKS scheme as introduced in  
[Efficient Multi-Key Homomorphic Encryption with Packed Ciphertexts with Application to Oblivious Neural Network Inference](https://eprint.iacr.org/2019/524.pdf)  
and  
[Asymtotically Faster Multi-Key Homomorphic Encryption from Homomorphic Gadget Decomposition](https://eprint.iacr.org/2022/347.pdf).

In the OpenFHE library, can I utilize such implementations, including the multi-key variant of relinearization and automorphism?  
If not, do you have any plans to provide a multi-key FHE scheme?

(Only thing i can find was the implementation in Golang)

Thank you for reading.

---

<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:** [April 10, 2024, 2:04am UTC](https://openfhe.discourse.group/t/implementations-of-multi-key-fhe-schemes/1179/2 "2024-04-10T02:04:20Z")

</div>

We currently support only the threshold multiparty FHE setting as it is more efficient for many applications. The multikey approach is typically less efficient (although there are some recent works proposing a hybrid solution). I suggest watching [Homomorphic Encryption for OpenFHE Users – OpenFHE.org](https://www.openfhe.org/portfolio-item/homomorphic-encryption-for-palisade-users-5/) to learn more about the differences between threshold FHE and multikey FHE.
