Resilient Data-Centric Storage in Wireless Sensor Networks