Research Article

Achieving Incentive, Security, and Scalable Privacy Protection in Mobile Crowdsensing Services

Algorithm 2

Data encryption.
input:  ,
output:
(1) for each   do;
(2) ;
(3) Encrypted message by computing ;
return