HomomorphicEncryptionOptions
Options & Configuration ยท AiDotNet.Models.Options
Configuration options for homomorphic encryption (HE) in federated learning.
Inheritance: ModelOptions โ HomomorphicEncryptionOptions
How It Works
For Beginners: Homomorphic encryption lets the server combine encrypted client updates without seeing them in plaintext. This can enable stronger privacy guarantees, at the cost of compute and bandwidth.
Constructors
| Constructor | Summary |
|---|---|
HomomorphicEncryptionOptions() |
Properties
| Property | Summary |
|---|---|
HomomorphicEncryptionMode Mode { get; set; } |
Gets or sets the HE mode. |
HomomorphicEncryptionScheme Scheme { get; set; } |
Gets or sets the HE scheme. |
List<ParameterIndexRange> EncryptedRanges { get; set; } |
Gets or sets which parameter ranges are encrypted when Mode is Hybrid. |
List<int> CkksCoeffModulusBits { get; set; } |
Gets or sets CKKS coefficient modulus bit sizes. |
bool Enabled { get; set; } |
Gets or sets whether homomorphic encryption is enabled. |
double BfvFixedPointScale { get; set; } |
Gets or sets the fixed-point scaling factor for BFV encoding. |
double CkksScale { get; set; } |
Gets or sets CKKS scale used for encoding. |
int BfvPlainModulusBitSize { get; set; } |
Gets or sets BFV plain modulus bit size (batching-friendly prime). |
int PolyModulusDegree { get; set; } |
Gets or sets the polynomial modulus degree. |