Two-phase authentication protocol for wireless sensor networks in distributed IoT applications | Synapse