Distributed chaotic image encryption on ESP32-S3 speeds up processing 2.7× with high entropy
A master-worker ESP32-S3 system can securely encrypt images faster than a single device while preserving image quality
Security & privacy arXiv 7 Nov 2026 Defense Prototype evidence
Published as “Design and Evaluation of Secure Distributed Chaotic Image Encryption on ESP32-S3”
Why it matters
Demonstrates that secure, fault-tolerant chaotic image encryption can be realized on low-cost IoT microcontrollers, enabling edge cameras and distributed surveillance with protected image data.
Summary
The authors built a master-coordinated system that distributes chaotic image encryption across up to four ESP32-S3 microcontrollers, achieving a reduction in execution time from 43.215 s (1 worker) to 15.88 s (4 workers) with exact image recovery. The system tolerates worker failures by automatically reassigning tasks while preserving the chaotic sequence, and it secures communication using ECDSA-signed discovery and TLS 1.3 mutual authentication. Statistical analysis shows near-maximum Shannon entropy and near-zero pixel correlations after encryption, and decryption reproduces the original image (identical SHA-256 hash and SSIM = 1.0). The evaluation is limited to a single image and demonstrates sub-linear speed-up due to communication overhead.
What they found 5
- Increasing the number of ESP32-S3 workers reduces execution time, achieving a 2.72× speed-up with four workers.
“The results demonstrate that increasing the number of workers reduces execution time, as illustrated in Figure 2.”
- The master detects a failed worker, requeues the incomplete task, and reassigns it while preserving the chaotic starting state.
“The master detected the incomplete task through its timeout mechanism, returned it to the pending queue, and automatically reassigned it to another available worker.”
- TLS 1.3 mutual authentication succeeds, and a mismatched private key causes a BAD_SIGNATURE error, preventing worker admission.
“After replacing an ESP32-S3 worker's private key, the master repeatedly rejected the TLS handshake with a BAD_SIGNATURE error.”
- Decrypted images match the original exactly (identical SHA-256 hash and SSIM = 1.0), confirming lossless recovery.
“SHA-256 4640051beba73f44a53fc4b4 d0544cd0ac0c422f45eb7c45 78ee588c1ca7187c Original = Decrypted (exact recovery)”
- Encryption increases Shannon entropy to near the theoretical maximum and reduces adjacent-pixel correlations to near zero.
“Shannon entropy 7.860255 → 7.999940 bits/byte Near maximum (8 bits/byte)”
Caveats 4
- Efficiency drops to 68.04% with four workers, indicating communication and coordination overhead limit scalability.
- The authors note that statistical results alone do not establish encryption security.
- The sublinear speed-up suggests that communication and coordination overhead may limit scalability.
- However, these statistical results alone do not establish encryption security.
What’s new here 4
- First implementation of distributed chaotic image encryption on resource-constrained Wi-Fi-connected ESP32-S3 microcontrollers.
- Master-coordinated chaotic sequence management that preserves sequence continuity across dynamic worker assignments and failures.
- Integration of ECDSA-signed discovery messages and TLS 1.3 mutual authentication on low-power MCUs.
- Automatic task reassignment with preserved chaotic starting state to achieve fault-tolerant processing.