Research Article

EPPSA: Efficient Privacy-Preserving Statistical Aggregation Scheme for Edge Computing-Enhanced Wireless Sensor Networks

Algorithm 7

Statistical aggregation
(i)Input: Vectors , where m.
Output: Ciphertext of arithmetic mean, mean of square, and weighted mean in the Montgomery domain of each dimension, denoted by , , and , .
(1), , ,
(2) for up to
(3)  for up to
(4)   ,
(5)   
(6)for up to
(ii) for up to
(8)   ,
(9)   
(10) for up to
(11)  for up to
(12)   ,
(13)   
(14)return