{'fraction_non_alphanumeric': 0.023166023166023165, 'fraction_numerical': 0.0, 'mean_word_length': 5.1, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Encryption Protocol for Resource-Constrained Devices in Fog-Based IoT Using One-Time Pads

Fog computing allows data to be processed on the network edge without reaching the cloud infrastructure to reduce latency and network bandwidth. However, it is not without its security challenges as existing security protocols, implemented in the fog, do not fully cater for the mobility and heterogeneity of the fog, especially on resource-constrained fog nodes. As such, this increases latency and overhead on those nodes which also affects the fog. This paper investigates the possibility of creating a one-time pad (OTP)-based encryption protocol with no packet loss; lesser time and energy overheads as compared to protocols that have been proposed by existing research. The protocol will be tested on wireless sensor nodes, which are resource constrained, and the outcome monitored. The OTPs will be generated using a random number generator within the nodes. Outcomes are positive and can be implemented on resource-constrained fog nodes.