Discussion and Optimization of AES and SM4 Encryption Algorithms
Yibo Liu · Frontiers in Computing and Intelligent Systems · 2025
This paper creates a new direction for the operation optimization of Simplified Message Block Cipher for 128-bit Data encryption (SM4) national cipher algorithm, which combines with AES algorithm to provide a simpler encryption method for SM4 algorithm. The AES algorithm is for the whole file system-based f encryption scheme, and the implementation concept is to encrypt the file and maintain data security by encrypting files to encrypt and maintain data security. The advantages of this encryption method are that they have few key numbers and are easy to manage. The disadvantage is that when a user performs database operations, such as adding records, deleting records, changing records, and making selections, it is usually necessary to manipulate one or more records in a table. Currently, it's necessary for users to record the complete process of file encryption or decryption in a database, as the AES algorithm's sluggishness in encrypting the entire file encryption cipher block results in significant time consumption. SM4 algorithm, although the key generation is more cumbersome, but its encryption and decryption speed are relatively fast, so you can combine the two. This is a SM4 encryption scheme that maintains the security of the encryption scheme while having practical efficiency.