nvflare.app_common.homomorphic_encryption.he_model_decryptor module¶
- class HEModelDecryptor(tenseal_context_file='client_context.tenseal')[source]¶
Bases:
Filter
Filter to decrypt Shareable object using homomorphic encryption (HE) with TenSEAL https://github.com/OpenMined/TenSEAL.
- Parameters
tenseal_context_file – tenseal context files containing decryption keys and parameters
- handle_event(event_type: str, fl_ctx: FLContext)[source]¶
Handles events.
- Parameters
event_type (str) – event type fired by workflow.
fl_ctx (FLContext) – FLContext information.