# How to produce multiple keypairs of clients by dynamic generation

**URL:** <https://openfhe.discourse.group/t/how-to-produce-multiple-keypairs-of-clients-by-dynamic-generation/661>\
**Category:** FHE Questions\
**Created:** [June 25, 2023, 3:33am UTC](https://openfhe.discourse.group/t/how-to-produce-multiple-keypairs-of-clients-by-dynamic-generation/661 "2023-06-25T03:33:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 25, 2023, 6:26am UTC](https://openfhe.discourse.group/t/how-to-produce-multiple-keypairs-of-clients-by-dynamic-generation/661/2 "2023-06-25T06:26:46Z")

</div>

I’m assuming that you have a workflow that calls for multiparty FHE and I think that this thread will give you the answers you’re looking for, albeit indirectly; it should give you an idea of how to use multiparty FHE: [t-out-of-N Threshold FHE in OpenFHE](https://openfhe.discourse.group/t/t-out-of-n-threshold-fhe-in-openfhe/605)

From what I can see, you might be able to generalize the ideas presented in this function: [UnitTestMultiparty](https://github.com/openfheorg/openfhe-development/blob/dev/src/pke/unittest/UnitTestMultiparty.cpp#L677) but bear Yuriy’s most recent comment in mind:

For more general information on multiparty FHE see [PALISADE Webinar #4 - HE Tutorial Series Part 5: Introduction to Multiparty Homomorphic Encryption](https://www.youtube.com/watch?v=9Fa6rFUyQ_w). The video itself targets PALISADE, the precursor to OpenFHE, but the concepts are the same.

---

_[View the full topic](https://openfhe.discourse.group/t/how-to-produce-multiple-keypairs-of-clients-by-dynamic-generation/661)._
