Skip to main content
. 2020 Oct 29;20(21):6158. doi: 10.3390/s20216158
Algorithm 3:Updating ksh, gksh, and nList for node leaving the group.
  Input: idni;H1;ksh
  Output: Updatedksh,gkshandnList
1  Nodesendsleave(idni);
2  EdgebroadcastnodeLeave(Enc(gksh,referenceid));
3  Edgeandcurrentnodesupdatekeyksh=H1(idni)gksh;
4  Edgeandcurrentnodesupdatesharedpointgksh=ksh×G;
5  EdgeandcurrentnodesupdatetheirnList