A Quantum-Safe Multimedia Encryption and Transmission Framework using ML-KEM, Chaos Cryptography, and Hilbert-Curve Pixel Shuffling for IoT Edge Devices
Abstract
The rapid proliferation of Internet of Things (IoT) devices in surveillance, healthcare, and industrial monitoring has created an urgent need for lightweight yet cryptographically robust image transmission systems. Classical public-key mechanisms such as RSA and elliptic-curve cryptography are theoretically susceptible to Shor's algorithm running on a sufficiently capable quantum computer, motivating the search for post-quantum alternatives. In this paper we present a complete, end-to-end quantum-safe multimedia encryption and transmission framework designed specifically for resource-constrained edge devices. The system combines three complementary layers of protection: (i) ML-KEM-768 (Module-Lattice-Based Key-Encapsulation Mechanism, NIST FIPS 203) for quantum-resistant session-key establishment; (ii) a multi-round chaotic encryption cipher that interleaves byte-level XOR diffusion from three independently parameterised chaotic maps-the logistic map, the tent map, and the Hénon map-with Hilbert-curve-guided pixel permutation for spatial decorrelation; and (iii) an HMAC-SHA256 challenge-response protocol that authenticates edge clients before any cryptographic material is exchanged. The framework is implemented in Python, deployed on a Raspberry Pi Zero 2 W as the IoT edge node, and tested against a set of six standard images drawn from the USC-SIPI Miscellaneous dataset. Security is validated through mean squared error (MSE), peak signal-to-noise ratio (PSNR), mean absolute error (MAE), Shannon entropy, number of pixels change rate (NPCR), and unified average changing intensity (UACI) analyses, as well as histogram uniformity and Fourier-spectrum inspection. Average entropy of 7.621 bits, NPCR of 99.51%, and UACI of 23.89% are achieved, confirming strong resistance to differential and statistical attacks within the constraints of a 1 GHz, single-core ARM Cortex-A53 processor. To our knowledge, this is the first publicly documented system that unifies ML-KEM key encapsulation, multi-map chaotic encryption with Hilbert permutation, and HMAC client authentication into a single deployable IoT pipeline.