microsoft / SEAL

Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
https://www.microsoft.com/en-us/research/group/cryptography-research/
MIT License
3.6k stars 709 forks source link

How to deserialize Ciphertext #632

Open wangbaobaoget opened 1 year ago

wangbaobaoget commented 1 year ago

Hello, I recently encountered a problem while developing communication programs between C # servers and clients using the nuget package provided by SEAL. My idea is that the client encrypts the data into Ciphertext, serializes it into JSON, and sends it to the server. After receiving JSON, the server deserializes it into Ciphertext objects. However, I have found that many properties in Ciphertext do not have a set method, so deserialization will have problems, How should this problem be handled? Looking forward to everyone's recovery

FelipeLema commented 9 months ago

I have the same question for node-seal <-> sunscreen_fhs, so I'm also interested in the answer for the above