openfheorg / openfhe-python

Official Python wrapper for OpenFHE. Current release is v0.8.8 (released on June 25, 2024).
https://openfheorg.github.io/openfhe-python/html/index.html
BSD 2-Clause "Simplified" License
60 stars 18 forks source link

Add EvalKey serialization. Fixes #108 #106

Closed Thadah closed 4 months ago

Thadah commented 4 months ago

Hello,

This PR adds file serialization/deserialization for openfhe.EvalKey

If you have any suggestions or changes, please let me know!

yspolyakov commented 4 months ago

Thank you @Thadah Could you explain the motivation for adding EvalKey serialization? Is it to support serialization for scenarios with Threshold FHE or Proxy Re-Encryption?

Our standard approach is to create an issue explaining why it is needed and then tie the PR to the issue. Could you create an issue for this PR?

Thadah commented 4 months ago

Hello @yspolyakov. The feature is to support serialization for scenarios with Proxy Re-Encryption. We need it for a project where we will be storing serialized keys, temporarily or semi-permanently for a federated machine-learning scenario.

I'll create the issue and change the PR description accordingly, thank you very much for the feedback!