Network Session Key
What is it?
The network session key (NwkSKey) is a LoRaWAN® network component designed for interaction between the node and the network server, i.e., the server that empowers connectivity, management, and monitoring of devices, gateways, and end-user apps.
How does it work?
The goal of the NwkSKey is to verify each message’s integrity by its Message Integrity Code (MIC). The MIC itself looks like a checksum (a sequence of numbers and letters that helps to check data for errors). At the same time, it prevents intentional tampering with a message (modifying it through unauthorized channels). To achieve this purpose, LoRaWAN® leverages advanced encryption standard-cipher message authentication code (AES-CMAC).