Performance Overhead of SM2 vs. RSA in Spring Boot
DOI:
https://doi.org/10.54097/dq9qmg83Keywords:
National Cryptographic Algorithms, SM2, RSA, Spring Boot, Performance ComparisonAbstract
As the national strategy for autonomous and controllable information security continues to advance, the process of replacing imported technologies with domestic alternatives in the field of critical information infrastructure is gradually accelerating. Traditional RSA algorithms incur significant computational overhead at high security levels (such as 2048 bits), making them prone to becoming performance bottlenecks in high-concurrency web scenarios. In contrast, the Chinese SM2 algorithm, based on the elliptic curve discrete logarithm problem, requires a key length that is only one-eighth that of RSA at equivalent security levels, offering higher theoretical efficiency. However, existing research has largely focused on comparing the mathematical principles of the algorithms themselves, with a lack of quantitative empirical data from real-world industrial-grade web development frameworks. In particular, the impact of the Spring Boot framework’s core mechanisms (such as auto-configuration, bean management and request interceptors) on algorithm execution efficiency has not yet been systematically studied. Consequently, this study utilises the Spring Boot framework and employs a method involving control variables and stratified experiments to quantitatively compare the performance of SM2 and RSA in secure communication scenarios. The aim is to supplement the theoretical data on domestic cryptographic algorithms in the field of web development, thereby providing developers with quantifiable reference criteria and practical engineering guidance for selecting and applying these algorithms in real-world projects.
Downloads
References
[1] Liu, Y. J. (2025). Application of data encryption technology in computer network information security. Information Recording Materials, 26(04), 111–113, 158. (In Chinese)
[2] Hu, Y. (2025). Application of encryption technology in network communication security. Information Recording Materials, 26(02), 129–131. (In Chinese)
[3] Huo, W., Guo, Q. Q., & Ma, Y. (2020). Commercial cryptography application and security assessment. Publishing House of Electronics Industry. (In Chinese)
[4] Sun, K. Q. (2010). A determination algorithm for factoring large integers in RSA cryptanalysis. Computer Engineering and Applications, 46(S1), 142–144. (In Chinese)
[5] Stallings, W. (2020). Cryptography and network security: Principles and practice (8th ed.). Pearson.
[6] Huang, P. Y., Liao, G. Z., & Ren, J. H. (2024). The application of AES SM2 hybrid encryption algorithm in big data security and privacy protection. International Journal of Advanced Computer Science and Applications, 15(6), 989–995.
[7] Li, J. L., Mo, Y. N., Su, T., & Chen, D. H. (2022). Hardware design of high speed hybrid encryption system based on national secret algorithms SM2, SM3, SM4. Application Research of Computers, 39(9). (In Chinese)
[8] Rivest, R. L., & Kaliski, B. (2003). RSA problem. In H. C. A. van Tilborg (Ed.), Encyclopedia of cryptography and security. Springer.
[9] Ma, Z. H. (2024). Research on software hardware co design of a hybrid encryption system based on national secret algorithms [Master’s thesis, Zhengzhou University]. CNKI. (In Chinese)
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Frontiers in Computing and Intelligent Systems

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

