nvflare.app_opt.he.model_decryptor module¶
- class HEModelDecryptor(tenseal_context_file='client_context.tenseal', data_kinds: [<class 'str'>] = None)[source]¶
Bases:
DXOFilter
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
data_kinds – kinds of DXOs to filter