Research Article

An Efficient Secure Sharing of Electronic Health Records Using IoT-Based Hyperledger Blockchain

Algorithm 1

Pseudocode of the MSSO algorithm.
Set the salp population Hsi (i = 1, 2, …, n) as Cu and Cl
While (end condition is not accomplished)
Compute the fitness of each search agent equation (7)
Da = the best search agent
Modify Zwi by equation (4)
 For every salp (HSi)
  If (I = 1)
   Modify the position of the leading salp
  Else
   Modify the position of the follower salp by equation (5)
  End
 End
 Amend the salps based on the upper and lower bounds of variables
End Return Da