nvflare.app_common.homomorphic_encryption.he_model_shareable_generator module¶
- class HEModelShareableGenerator(tenseal_context_file='server_context.tenseal')[source]¶
Bases:
FullModelShareableGenerator
This ShareableGenerator converts between Shareable and Learnable objects.
This conversion is done with homomorphic encryption (HE) support using TenSEAL https://github.com/OpenMined/TenSEAL.
- Parameters
tenseal_context_file – tenseal context files containing decryption keys and parameters