LoRaWAN uses two-layer AES-128 encryption: the NwkSKey provides frame authentication and integrity (between the device and the Network Server), while the AppSKey encrypts the application payload (between the device and the Application Server).
True
The Network Session Key (NwkSKey) is an AES-128 key used to compute a CMAC over each frame, which provides both authentication of the sender and integrity of the MAC header and payload. The Application Session Key (AppSKey) is a separate AES-128 key used in AES-CTR mode to encrypt the application payload end-to-end between the device and the Application Server. As a result, the Network Server can route and deduplicate frames but cannot decrypt the application payload — only the Application Server, which holds the AppSKey, can do so. This is a deliberate privacy-by-design pattern: the network operator never sees the customer data in clear.
Never store AppSKey on the same server as the rest of the network state — separating the Join Server, Network Server and Application Server key stores is a key requirement of the LoRaWAN 1.1 security model and good practice even on 1.0.x.
LoRaWAN bank in preparation
The full LoRaWAN bank isn't available yet. Drop your email to get notified at launch and grab an early-bird discount.
Join the waitlist →See the 9 other LoRaWAN practice questions
Related questions
- A LoRaWAN architecture comprises four entities: End Devices (LoRa sensors and actuators), Gateways (bidirectional radio relays), a Network Server (which centralises traffic and handles ADR and security) and an Application Server (which carries the business logic and exposes the data to end users).1. Architecture · LoRaWAN-Architektur
- Which frequency band is used by LoRaWAN in Europe?2. Frequencies · Regionen
- In Europe (EU868), the ETSI EN 300 220 regulation typically limits the duty cycle to 1 % per hour on the main sub-band, which caps the number of frames an end device can transmit (from a few dozen to more than two hundred per hour depending on the spreading factor).2. Frequencies · Duty Cycle
- Which LoRaWAN class offers the lowest latency for downlink messages (Network Server to end device) but also the highest energy consumption?3. Classes · Class A, B, C
- More than 90 % of LoRaWAN end devices in the field run in Class A: battery-powered sensors (water meters, GPS trackers, weather stations, level probes), periodic uplinks (every 10 minutes to 24 hours depending on the use case) and 5-10 years of autonomy on an AA or lithium cell.3. Classes · Class A typisch