intel / pailliercryptolib

Intel Paillier Cryptosystem Library is an open-source library which provides accelerated performance of a partial homomorphic encryption (HE), named Paillier cryptosystem, by utilizing Intel® IPP-Crypto on AVX512IFMA instructions. Intel Paillier Cryptosystem Library is certified for ISO compliance.
Apache License 2.0
73 stars 18 forks source link

CipherText not serializable? #74

Closed PTRFmX closed 1 year ago

PTRFmX commented 1 year ago

Hi, I was trying to transmit a ipcl::CipherText object between 2 servers but found that it does not seem to be serializable. It would be nice to add a serialization interface for ipcl::CipherText since both the public key and cipher text will get transmitted in many HE based applications. Thanks.

justalittlenoob commented 1 year ago

Hi @PTRFmX
Thank you very much for the suggestion. Serialization and deserialization support for PlainText and CipherText has been added in PR #75, and the PR is merged into development branch. Please update your code and have a try.

PTRFmX commented 1 year ago

Thanks for the update!