SecureAggregationEncryptedShare

Models & Types · AiDotNet.FederatedLearning.Privacy

Round 1 (ShareKeys) message: client u’s shares for client v, encrypted so only v can read them.

For Beginners

This is a sealed envelope from one client to another, carried by the server.

How It Works

Bonawitz et al. (2017), figure 4, round 1: e_{u,v} = AE.enc(KA.agree(c_u^SK, c_v^PK), u || v || s_{u,v}^SK || b_{u,v}). The server only routes these ciphertexts; it cannot decrypt them.

Constructors

Constructor Summary
SecureAggregationEncryptedShare(int senderId, int recipientId, byte[] ciphertext) Creates the message.

Properties

Property Summary
byte[] Ciphertext { get; } Gets the authenticated ciphertext e_{u,v}.
int RecipientId { get; } Gets the recipient v.
int SenderId { get; } Gets the sender u.