Real-Time Bit-Level Encryption of Full High-Definition Video Without Diffusion
Dong Jiang, Hui-ran Luo, Zi-jian Cui, Xi-jue Zhao, Lin-sheng Huang, Liang-liang Lu · 2025
Read Real-Time Bit-Level Encryption of Full High-Definition Video Without Diffusion by Dong Jiang, Hui-ran Luo, Zi-jian Cui, Xi-jue Zhao, Lin-sheng Huang, Liang-liang Lu (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-07158.txt.
Introduction
Locking up high-definition video in real time is a race against the clock, and the usual way of scrambling images is too slow. Dong Jiang and five co-authors blame diffusion, the step that chains each pixel to the ones before it and forces slow, repeated passes. Their method drops diffusion entirely and leans on the extreme sensitivity of the SHA-256 hash: change one bit of a frame, and the hash changes completely.
Computer and graphics processors split the work, with one graphics thread per pixel, so a single pass of mixing and XOR reaches the needed security measures. On their test server, full high-definition video at 30 frames per second encrypted in about 26 milliseconds per frame, with strong statistical scores. They present the protocol in 2025 as delay-free bit-level protection.
Catalog record
| CREATOR | Dong Jiang, Hui-ran Luo, Zi-jian Cui, Xi-jue Zhao, Lin-sheng Huang, Liang-liang Lu |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 68 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2505-07158
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Real-Time Bit-Level Encryption of Full High-Definition Video Without Diffusion Dong Jiang, Hui-ran Luo, Zi-jian Cui, Xi-jue Zhao, Lin-sheng Huang, Liang-liang Lu Abstract Despite the widespread adoption of Shannon’s confusion-diffusion architecture in image encryption, the implementation of diffusion to sequentially establish inter-pixel dependencies for attaining plaintext sensitivity constrains algorithmic parallelism, while the execution of multiple rounds of diffusion operations to meet the required sensitivity metrics incurs excessive computational overhead. Consequently, the pursuit of plaintext sensitivity through diffusion operations is the primary factor limiting the computational efficiency and throughput of video encryption algorithms, rendering them inadequate to meet the demands of real-time encryption for high-resolution video. To address the performance limitation, this paper proposes a real-time video encryption protocol based on heterogeneous parallel computing, which incorporates the SHA-256 hashes of original frames as input, employs multiple CPU threads to concurrently generate encryption-related data, and deploys numerous GPU threads to simultaneously encrypt pixels. By leveraging the extreme input sensitivity of the SHA hash, the proposed protocol achieves the required plaintext sensitivity metrics with only a single round of confusion and XOR operations, significantly reducing computational overhead. Furthermore, through eliminating the reliance on diffusion, it realizes the allocation of a dedicated GPU thread for encrypting each pixel within every channel, effectively enhancing algorithm’s parallelism. The experimental results demonstrate that our approach not only exhibits superior statistical properties and robust security but also achieving delay-free bit-level encryption for 1920 × \times 1080 resolution (full high definition) video at 30 FPS, with an average encryption time of 25.84 ms on a server equipped with an Intel Xeon Gold 6226R CPU and an NVIDIA GeForce RTX 3090 GPU. In addition, the proposed protocol is employed to implement a real-time video monitoring system, enabling delay-free encryption of 640×480 resolution video at 24 FPS on an NVIDIA Jetson Xavier NX equipped with an NVIDIA Carmel ARM CPU and a Volta GPU, thereby demonstrating its feasibility for real-world applications. I Introduction With the rapid advancement of network and multimedia technologies, video has been extensively utilized across various application scenarios, including military command, traffic monitoring, and social networking, consequently creating an substantial demand for secure video transmission and progressively establishing video encryption as a prominent research hotspot [ 1 ] . To ensure that encrypted video frames attain superior statistical properties and exhibit robust security resilience against potential cryptographic threats, mainstream video encryption algorithms predominantly utilize the Shannon Confusion-Diffusion Architecture (SCDA), a well-established paradigm that has been widely adopted in the field of image encryption [ 2 ] . In SCDA, confusion systematically permutes pixel positions without modifying their values, thereby disrupting the visual structure of the original frame and reducing statistical correlations among adjacent pixels, whereas diffusion strategically alters pixel values and distributes individual pixel influences across the entire frame, thus encrypting the pixels and ensuring plaintext sensitivity [ 3 ] . However, these operations are inherently time-consuming and commonly require multiple rounds of confusion and diffusion operations to guarantee that the encrypted frames achieve a satisfactory level of statistical properties and security [ 4 ] . The extended encryption durations, while potentially acceptable for image encryption applications, are insufficient to satisfy the stringent real-time processing demands of video encryption systems, as exceeding the threshold of 1000 milliseconds (ms) divided by the frame rate (Frames Per Second, FPS), potentially resulting in detrimental latency issues. Therefore, many video encryption algorithms adopt a simplified encryption process, implementing a single round of confusion and diffusion operations for frame encryption, thereby enhancing computational efficiency and encryption speed [ 5 , 6 , 7 , 8 ] . Although these studies have significantly advanced video encryption technology, their encrypting times, ranging from hundreds to thousands of milliseconds per frame, remain inadequate to satisfy the essential requirements for real-time video encryption applications. To tackle this challenge, recent works have incorporated parallel computing [ 9 , 10 ] and heterogeneous parallel computing [ 11 ] technologies into video encryption, employing CPU thread allocation at the sub-frame level and GPU thread assignment at the pixel level to enable simultaneous execution of confusion and diffusion operations, thereby significantly reducing the average encryption time to below 40 ms, even when a total of over ten rounds of confusion and diffusion operations are performed on each frame. Despite demonstrating that parallel and heterogeneous parallel computing techniques can effectively enhance encryption speed, these works remain inadequate to meet the demands for real-time encryption of High-Definition (HD) video. This inadequacy is primarily constrained by two factors: First, the diffusion method employed in these works, along with many other approaches [ 12 , 13 , 14 ] , necessitate the sequential establishment of inter-pixel relationships between original and encrypted counterparts to achieve plaintext sensitivity, thereby ensuring resistance against differential attacks. The inherently sequential characteristic of diffusion significantly constraints the algorithmic parallelism, limiting the optimal utilization of hardware resources. Second, the majority of statistical and security metrics can be attained without performing multiple rounds of confusion and diffusion operations. The additional iterations primarily serve to reinforce diffusion effectiveness, thus ensuring compliance with stringent plaintext sensitivity metrics. The requisite multiple diffusion rounds considerably elevates the computational overhead, compromising encryption speed. Consequently, the pursuit of plaintext sensitivity through diffusion operations is the primary factor that limits the throughput of video encryption algorithms. To solve this problem, a real-time video encryption algorithm based on heterogeneous parallel computing is proposed in this paper. It utilizes the SHA-256 hash of each original frame as input to initialize chaotic systems distributed across multiple CPU threads, which operate in parallel to generate the necessary data for encryption, while allocating numerous GPU threads to concurrently perform bit-level confusion and XOR operations on respective pixels for frame encryption. Our method ensures that any modification to even a single channel of any pixel in the original frame generates a distinct SHA-256 hash, leading to entirely different data from the CPU threads and resulting in fundamentally divergent encryption outcomes from the GPU threads, thereby achieving plaintext sensitivity without diffusion. Thus, it can not only allocate a dedicated GPU thread for each channel of every pixel, significantly enhancing the algorithmic parallelism, but also attain required plaintext sensitivity metrics with just a single round of confusion and XOR operations, substantially reducing the computational overhead, ultimately resulting in accelerated encryption speed. The experimental results demonstrate that the proposed protocol exhibits outstanding statistical properties, provides robust resistance against different types of attacks and channel noise, and enables delay-free full HD (1920 \times 1080 resolution) video encryption at 30 FPS, utilizing a server equipped with an Intel Xeon Gold 6226R CPU and an NVIDIA GeForce RTX 3090 GPU, achieving an average encryption time of 25.84 ms. It is also utilized to implement a real-time secure video monitoring system that enables delay-free 640×480 video encryption at 24 FPS on an NVIDIA Jetson Xavier NX featuring an NVIDIA Carmel ARM CPU and a Volta GPU, showcasing its high feasibility. Furthermore, by utilizing the SHA-256 hash of each original frame, our protocol not only establishes a dynamic key space and exhibits resistance to dynamic degradation but also demonstrates enhanced resilience against cropping attacks and channel noise, owing to the absence of diffusion affecting the decryption. II Protocol description The proposed protocol leverages heterogeneous parallel