Limitation Exploration and Optimization Verification of RSA Encryption: using Digital Signature as an example
DOI:
https://doi.org/10.61173/dgvs5s39Keywords:
RSA encryption, digital signature, asymmetric cryptography, multi-prime RSA, replaced-modulus RSA, multi-exponent RSA, performance optimization, Python experimentAbstract
This dissertation investigates the limitations of RSA encryption and evaluates optimization schemes using digital signatures as the main application example. RSA remains a core asymmetric cryptographic algorithm, but its practical use is constrained by computational cost, key-management complexity, and possible attacks on weak parameter choices. The study combines a literature review of traditional RSA, multi-prime RSA, replaced-modulus RSA, and multi-exponent RSA with a controlled Python experiment. Four algorithms were implemented under the same hardware and software environment, and ten trials were conducted for each algorithm across five stages: key generation, encryption, decryption, signing, and verification. A total of 200 timing data points were analyzed using normalized execution time, acceleration ratios, standard deviation, and box plots. The results show that theoretical optimization does not always translate into practical acceleration. Multi-prime RSA performed worse than the basic algorithm in all stages, with key generation 5.39 times slower and high variability. Replaced-modulus RSA remained close to the baseline while offering potential security advantages, and multi-exponent RSA produced slight improvements in key generation, encryption, and decryption with stable performance. The study concludes that RSA optimization should be evaluated through both security reasoning and empirical performance testing, especially when applied to digital signature systems.
References
Bai, Y. and He, L. and Chen, Y. (2021), ‘The Design and Implementation of RSA Cryptographic Algorithm Based on Python’, *Electronic Design Engineering* (Accessed: 18 March 2026)
CeLaMbDa (2025) ‘ An In-Depth Understanding of RSA Encryption and Decryption Techniques ’, CSDN, 25 December. Available at: https://blog.csdn.net/weixin_34438187/article/ details/150144405 (Accessed: 18 March 2026)
Ding, Z. (2013) *Research and analysis of the RSA algorithm*. Available at: https://cdmd.cnki.com.cn/Article/CDMD-90008- 1011057301.htm (Accessed: 17 March 2026).
Gao, L. (2018) *Research on digital signature technology based on the RSA public key algorithm*. Available at: https://www. zhaokaiti.com/searchdetail?dk=bylw&pid=16680 (Accessed: 17 March 2026).
Gao, L. and Zhou, J. (2018) ‘Research on digital signature based on multiple keys and CRT’, *Internet of Things Technologies*, 8(4), pp. 39–41.
Gao, L. and Zhou, J. (2019) ‘Research on the improved RSA algorithm based on multiple prime numbers and parameter substitution’, *Application Research of Computers*, 36(2), pp. 495–498. doi: 10.19734/j.issn.1001-3695.2017.09.0879.
Hu, F. (2008) ‘Improved RSA Algorithm and Its Application in Digital Signatures’, *Northeast University* (Accessed: 18 March 2026)
Li, J. (2020) *Optimization and improvement of RSA encryption algorithm*. Available at: https://www.cnki.com.cn/Article/ CJFDTotal-HLKX202117041.htm (Accessed: 17 March 2026).
Li, Q. and Fang, J. (2025) ‘A Secure Sharing Method for Computer Network Data Based on Improved RSA Algorithm’, *Industrial Control Computer* (Accessed: 18 March 2026)
OpenHiTLS Open-Source Community(2025) ‘An In- Depth Analysis of Asymmetric Cryptographic Algorithm Analysis Techniques and Future Prospects ’, CSDN, 25 December. Available at: https://openhitls.blog.csdn.net/article/ details/153677851 (Accessed: 18 March 2026)
Song, S. (2007) *The application of RSA algorithm in digital signatures*. Available at: https://www.cnki.com.cn/Article/ CJFDTotal-WLAQ202205023.htm (Accessed: 17 March 2026).
Wei, Y. and Liu, X. (2014) ‘Research on digital signature system based on RSA’, *Journal of North China Institute of Aerospace Dean&Francis ISSN 2959-6157 Engineering*, 24(5), pp. 20–22.
Zhang, W. and Feng, M. and Li, Q. and Jiang, B. (2020) ‘Research on RSA Encryption Algorithm Based on python and Several Cracking Methods’, *Information System Engineering*(Accessed: 18 March 2026)
Zhang, X. (2017) ‘Implementation and Research of Encryption and Decryption Algorithms Based on python’, *Textile Report* (Accessed: 18 March 2026)
Zhang, Y. (2015) *Research on RSA algorithm and SM2 algorithm*. Available at: https://pdf.hanspub.org/ csa20211100000_36474466.pdf (Accessed: 17 March 2026).
Downloads
Published
Issue
Section
License
Copyright (c) 2026 by the authors.

This work is licensed under a Creative Commons Attribution 4.0 International License.
