PySyft
PySyft copied to clipboard
Enhance encryption API
Two features here:
- Make
crypto_providerkwargs mandatory in.share()and check that it's not a client_worker - Modify
.encrypt()to add a kwarg and be used not only for Paillier encryption but only MPC (default should be MPC, and it should call for mpc .fix_prec(...).share(...) under the hood)
I can try the first part.