An efficient key revocation protocol for wireless sensor networks