SecureAggregationAdvertisedKeys

Models & Types · AiDotNet.FederatedLearning.Privacy

Round 0 (AdvertiseKeys) message: a client’s two P-256 public keys.

For Beginners

Public keys can be shown to everyone. Each pair of clients combines them with their own private keys to agree on shared secrets without ever sending those secrets.

How It Works

Bonawitz et al. (2017), figure 4, round 0: client u generates (c_u^PK, c_u^SK) for encrypting shares and (s_u^PK, s_u^SK) for deriving pairwise masks, and sends both public keys to the server, which broadcasts the list to all clients in U_1.

Constructors

Constructor Summary
SecureAggregationAdvertisedKeys(int clientId, byte[] cipherPublicKey, byte[] maskingPublicKey) Creates the message.

Properties

Property Summary
byte[] CipherPublicKey { get; } Gets c_u^PK, the 64-byte (X || Y) P-256 key used to encrypt shares.
byte[] MaskingPublicKey { get; } Gets s_u^PK, the 64-byte (X || Y) P-256 key used to derive pairwise masks.
int ClientId { get; } Gets the sending client’s identifier u.