Research Article

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

Algorithm 1

Generation of registration record.
Input:
Region ; Maximum level of location partition N; LDO’s secret key
Output:
Registration record
    (1)
    (2) for
    (3)  
    (4)  
    (5)  
    (6)  
    (7) end for
    (8)
    (9)
    (10)
    (11) return .