A Privacy-Preserving Reputation System for Participatory Sensing