Real-time data stream encryption and integrity verification method based on transformer XL
Abstract
Securing high-speed real-time data streams in applications like IoT and industrial control requires mechanisms that simultaneously guarantee confidentiality, integrity, and low latency—a challenge where traditional cryptography falls short. This paper presents TransXL-SIV, a novel framework that utilizes the Transformer-XL architecture to integrate real-time encryption with integrity verification for streaming data. The aim of our work is to provide an efficient and secure solution for data in transit for two objectives: encryption and verification should be low-latency and high throughput. The key innovation is using Transformer-XL’s long-range dependency modeling to dynamically generate encryption keys and synchronized verification tags directly from the streaming context. We evaluate TransXL-SIV on two popular datasets, CICIDS2017 and UNSW-NB15. Experimental results show that TransXL-SIV achieves significantly higher performance than conventional encryption method AES and RSA, as well as existing integrity verification method RT-DIV , with superior tamper detection ( > 95%), lower latency, and higher throughput. This demonstrates a practical advance in securing data streams without performance trade-offs. The proposed method’s practical applications span across various industries, including IoT, industrial control, smart grids, and autonomous vehicles, where secure real-time data streaming is essential. Additionally, TransXL-SIV can be deployed in low-power and resource-constrained edge devices, making it an ideal candidate for the growing demands of secure data transmission in distributed and embedded systems.
Fields of Study & Subjects
Cryptographic Implementations and Security
Cryptography and Data Security
Chaos-based Image/Signal Encryption
Publication details
- Journal / source
- Alexandria Engineering Journal
- Volume
- 141
- Pages
- 165–179
- Publication date
- 10 March 2026
- Language
- EN