microsoft/EVA

How to save and load key instances?

2w21234 opened this issue · 0 comments

Hello, I'm a person who study about homomorphic encryption.
Practically, the public key has to be saved as a file and be sent to someone to encrypt his own data. However, I can't find how to save public key instance
(e.g <eva._eva._seal.SEALPublic at 0x7f37b454f2b0>) in a file format. I tried pickle module, but it doens't work.

Is there any way to save a public key and encrypted data into a file format?? I guess it can be accomplished in SEAL level not EVA. Thank you in advance for your reply.