OpenMined / TenSEAL

A library for doing homomorphic encryption operations on tensors
Apache License 2.0
837 stars 158 forks source link

Serialization support #358

Open pfcqlj opened 3 years ago

pfcqlj commented 3 years ago

I want to use tenseal in distributed machine envirmonent, but i failed due to serialization. So i want to know whether tenseal will add serialization support for pickle

bcebere commented 3 years ago

Hello,

No, TenSEAL won't support pickle due to security and usability constraints.

All the TenSEAL objects provide the serialize/deserialize API, for that, using protobufs. You can see examples for using it here.

bcebere commented 3 years ago

You can see a full example of using TenSEAL in the client - server scenario here,