Research Article

Analysis and Improvement of Blockchain-Based Multilevel Privacy-Preserving Location Sharing Scheme for Telecare Medical Information Systems

Algorithm 7

Location record generation.
Input:
LDO’s j-th location ; Region ; LDO’s secret keys and ; LDO’s signing key
Output:
Location record
(1)for
(2)ifthen
(3)  ;
(4)end if
(5)ifthen
(6);
(7)end if
(8)end for
(9)
(10)
(11);
(12);
(13)Generate a random number ;
(14);
(15);
(16)
(17)
(18)return