A key management scheme for mobile wireless sensor networks