# ThresholdFHE Generation of EvalSumKeys using the OpenFHE Python Wrapper

**URL:** <https://openfhe.discourse.group/t/thresholdfhe-generation-of-evalsumkeys-using-the-openfhe-python-wrapper/1273>\
**Category:** OpenFHE ports/wrappers\
**Created:** [May 16, 2024, 11:58am UTC](https://openfhe.discourse.group/t/thresholdfhe-generation-of-evalsumkeys-using-the-openfhe-python-wrapper/1273 "2024-05-16T11:58:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daamesaeh](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@daamesaeh](https://openfhe.discourse.group/u/daamesaeh)\
**Post date:** [May 16, 2024, 11:58am UTC](https://openfhe.discourse.group/t/thresholdfhe-generation-of-evalsumkeys-using-the-openfhe-python-wrapper/1273/1 "2024-05-16T11:58:24Z")

</div>

Good day.

I would just like to ask about the generation of EvalSumKeys using the OpenFHE Python wrapper.The EvalSumKeyMap is no longer a compatible function argument of SerializeToFile, but I need the EvalSum function in my computation. I would just like to ask if there is an alternative to be able to generate the EvalSumKey for multiple parties?

Thank you for your time.

---

<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:** [May 16, 2024, 7:51pm UTC](https://openfhe.discourse.group/t/thresholdfhe-generation-of-evalsumkeys-using-the-openfhe-python-wrapper/1273/2 "2024-05-16T19:51:26Z")

</div>

EvalSumKeyMap is now internally merged to EvalAutomorphismKeyMap (in OpenFHE itself), but the old API should still work; the users should not see any difference (as EvalSumKeyMap simply redirects now to EvalAutomorphismKeyMap) unless there is a bug. Could you provide a minimal working example for the issue you are seeing so I could try to run it and suggest a fix?

---

<div class="post-metadata">

**Author:** ![daamesaeh](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@daamesaeh](https://openfhe.discourse.group/u/daamesaeh)\
**Post date:** [May 18, 2024, 6:25am UTC](https://openfhe.discourse.group/t/thresholdfhe-generation-of-evalsumkeys-using-the-openfhe-python-wrapper/1273/3 "2024-05-18T06:25:11Z")

</div>

Hello, thank you for the response. I am still new to homomorphic encryption, and I wasn’t aware that the EvalSumKeyMap is under the EvalAutomorphismKeyMap. Using SerializeEvalAutomorphismKey worked. Thank you.
