Optimized Multithreaded Encryption for Enhanced Performance and Efficiency
Vijay Mahadeo Mane, Sanskruti Shinde, Sumit Raina, Abhinav Tohare · 2025
In order to increase performance and efficiency, this work presents an efficient implementation of the AES and RSA encryption algorithms using multithreading. The system can achieve optimal execution times without sacrificing data integrity thanks to dynamic data chunking and encryption operation parallelism. According to experimental data, employing 16 threads speeds up AES by 5.07× and RSA by 6.26×, lowering execution times from 0.1198s to 0.0236s for AES and from 1.2087s to 0.1930s for RSA. AES and RSA both achieved 95% and 51.8% CPU utilization at 16 threads, respectively. Sequential and consistent output in concurrent processes is ensured by synchronous file writing using ReentrantLock. The study examines how multithreading affects CPU load and encryption performance, finding notable improvements over traditional single-threaded processing. The findings show that multithreaded encryption can effectively accelerate cryptographic processing, which makes it ideal for secure file transfers, bulk data encryption, and security jobs requiring high performance. To further increase the effectiveness and scalability of encryption, future research should focus on distributed computing, GPU acceleration, and hybrid cryptographic algorithms.