In the execution time of the nearest distance queries, which means shortest distance queries on the encrypted graph
data that stored in external storage like cloud storage, in previous scheme there are some challenges as how to figure the
accurate shortest distance in efficient and secure way. In previous work a novel scheme of Somewhat Homomorphic Encryption
(SWHE) is implemented to overcome the issues mentioned above and this SWHE is used for encryption. The SWHE will encrypt
the output values (shortest distance) by 2-hop cover labeling (2HCL).