Research Article
Analysis and Improvement of Blockchain-Based Multilevel Privacy-Preserving Location Sharing Scheme for Telecare Medical Information Systems
| Input: | | Response from LDO response; Record in the blockchain ; Session key with LDOkses | | Output: | | Boolean variable b | (1) | initialize bFalse; | (2) | ifthen | (3) | if Hash .LocInfok LocHashkthen | (4) | bTrue | (5) | end if | (6) | else ifthen | (7) | | (8) | ; | (9) | ; | (10) | ; | (11) | ; | (12) | ; | (13) | | (14) | ifthen | (15) | if then | (16) | bTrue | (17) | end if | (18) | end if | (19) | end if | (20) | return b; |
|