The Rhino Federated Computing platform supports Fully Homomorphic Encryption (FHE) via the NVFlare framework (and the TenSEAL package). To enable FHE in your model training, you will need to perform two actions:
- Install NVFlare with FHE support in your container image, by installing nvflare[HE] rather than plain nvflare (see details in the NVFlare docs).
- Modify your NVFlare configurations to include FHE filters and / or arguments (see examples from NVFlare for PyTorch and XGBoost)
- Enable homomorphic encryption in your Code Runs below
- You can find a notebook with an example in the Rhino FCP User-Resources
Enabling homomorphic encryption in Rhino FCP Code Runs
- Navigate to your Code Objects page
- Select “run” for an NVFlare Code Object, expand the configuration options
- Select “enable homomorphic encryption” and enter parameters (use “{}” to use defaults)
- Select “Run Training”