Skip to main content
. 2024 Feb 17;24(4):1299. doi: 10.3390/s24041299
Algorithm 1 SDC-net executed by user uk.

Input: Users ui for i=1,...,n with ik, message mk.

Output: Message mout, which is the sum of all the messages of the participants.

 1: Establish shared random secrets sk,i for each user ui, with ik and sk,i+si,k=0.

 2: Calculate Mk=mk+j=1,jknsk,j.

 3: Send Mk to ui,i{1,...,n}{k}.

 4: Receive Mi from ui,i{1,...,n}{k}.

 5: Calculate mout=j=1nMi=j=1nmi.