An image encryption algorithm based on SM4 and Base64
Jingjing Chen, Fucheng You · Journal of Physics Conference Series · 2021
Abstract In recent years, with the continuous development of international cryptographic standards, China has also paid more attention to the design and development of cryptographic algorithms. To guarantee the security of commercial passwords, China’s National Commercial Password Management Office has formulated a series of cryptographic standards, including SM1 (SCB2), SM2, SM3, SM4, SM7, SM9, Zu chongzhi Sequence Cryptography (ZUC) and so on. Compared with other cryptographic algorithms, the SM4 cryptographic algorithm has higher security features, and its performance of cryptographic indexes can be in line with international standards. It can resist differential attacks, linear attacks and other common attacks, so it has received complete attention and application. Nowadays, the network is becoming more and more developed, and the security problem of image stream data is also becoming more and more serious. Therefore, this paper proposes an image encryption algorithm based on SM4 and Base64, which outputs the RGB values of each pixel into a matrix, and then encrypts and decrypts them using SM4 and Base6 encoding and has higher reliability and more substantial anti-attack capability in the image transmission process.