IHomomorphicEncryptionProvider<T>

Interfaces · AiDotNet.Interfaces

Provides homomorphic encryption operations for federated learning aggregation.

Known implementations: HomomorphicEncryptionProviderBase<T>

How It Works

For Beginners: The provider hides cryptographic details (keys, ciphertexts, parameters) behind a simple interface.

Methods

Method Summary
Vector<T> AggregateEncryptedWeightedAverage(Dictionary<int, Vector<T>> clientParameters, Dictionary<int, double> clientWeights, Vector<T> globalBaseline, IReadOnlyList<int> encryptedIndices, HomomorphicEncryptionOptions options) Aggregates selected parameter indices using homomorphic encryption to produce a weighted average.
string GetProviderName() Gets the provider name.