Research Article

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

Algorithm 2

The Montgomery multiplication
(i)Input: , , , where is computed by the extended Euclidean algorithm.
Output: .
(1)
(2)
(3)
(4) if , then return
(ii)  else return