Enhanced Pyjamask-128 with Key-Dependent Dynamic MixRows and HKDF-SHA-256-Based Round Key Generation for Secure IoT Data Encryption
Rasha Thamer Shawi
Abstract
The Internet of Things (IoT) is in many current applications because connected devices send data to each other in different places - it is hard to keep IoT communication secure when devices don't have much memory or processing capacity. Because of this developers have to use lightweight cryptographic algorithms to protect data and keep resource use low. In this study we propose an altered Pyjamask-128 lightweight block cipher to encrypt IoT data securely. We changed the algorithm in two ways. We used Key Dependent Dynamic MixRows (KDDM), which has key dependent circular rotations in the diffusion layer. We used HKDF-SHA-256 to generate 15 round keys and 56 dynamic rotation parameters. The block size is still 128 bits and the algorithm still has 14 rounds. In our tests the altered algorithm had an average avalanche effect of 50.02% and a key sensitivity BER of 50.0195% - it passed all applied NIST SP 800-22 tests at the 0.01 significance level plus had more rapid early round diffusion. Encrypting took about 5.39% more time, decrypting took about 5.61% more time and the algorithm had 3.75% more memory consumption - those outcomes show the algorithm is more secure; people can test it more in IoT settings that have low resources.
References
Back