Skip to main content
. 2024 Feb 17;24(4):1299. doi: 10.3390/s24041299
Algorithm 2 Symmetric DC-Nets with Shamir’s Secret Sharing executed by user uk.

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

Output: Message mk,out, the message share transmitted for this user.

 1: Split mk into n parts mk,i for i=1,...,n with ik using a Secret-Sharing scheme.

 2: Establish shared random secrets sk,i for each user ui, with ik like the original DC-Net.

 3: Calculate Mk,i=mk,i+j=1,jknsk,j for i=1,...,n.

 4: Send Mk,i for ui,i{1,...,n}{k}.

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

 6: Calculate mk,out=j=1nMi,k.

 7: Send mk,out to all participants in the network.

 8: Reconstruct mout after receiving k1 other shares.