文档介绍:1 AES 算法加密解密原理及其编程实现张敏瑞 1苏初旭 1,2李寒 2 (1. 西安科技大学通信与信息工程学院陕西西安 710054; 2. 陕西威蓝工业自动化有限公司陕西西安 710072 ) 摘要: AES(Advanced Encryption Standard) 是美国高级加密标准算法,将在未来几十年里代替 DES (Data Encryption Standard) 在各个领域中的应用。本文在研究分析 AES 加密解密算法原理的基础上,着重介绍了加密解密整个过程。最后说明了 AES 算法的部分核心代码,并利用 VC++ 集成开发环境完整地实现 AES 加密和解密。关键词: AES;DES ;加密; VC++ 中图分类号:TP309 文献标识码:A t he encryption and decryption of AES al gorithm and it’s implementation ZHANG Minrui 1 SU Chuxu 1,2 Li Han 2 (1. college munication and information engineering, xi’ an university of science and technology ,xi’ an shaanxi, 710054; 2. Shaanxi Westland Industial Automation pany, xi’ an shaanxi,710072) Abstract: AES is advanced encryption standard algorithm in the United States , it will substitute for DES in various fields in ing decades. Based on the study of principle of AES, the whole encryption and decryption process is introduced in detail . Finally illustrated part of the core code of AES algorithm, and realize d AES encryption and decryption in VC ++ integrated development environment. K ey words: AES;DES; encryption ;VC++ 1 引言随着密码分析水平、芯片处理能力和计算技术的不断进步,以前广泛使用的 DES 数据加密标准算法由于密钥长度较小(56 位), 已经难以适应新的安全需要, 其实现速度、代码大小和跨平台性均难以继续满足新的应用要求。在这种形势下, 迫切需要设计一种强有力的算法作为新的一代分组加密标准,因此 1997 年美国 2 国家标准技术研究院( NIST ,National Institute of Standards and Technology) 公开征集新的数据加密标准,即 AES 。该算法作为新一代的数据加密标准汇聚了安全性、效率、密钥灵活性、多样性、简单性和对称性等优点[1]。 2 AES 算法加密解密原理 AES 是一个迭代的、对称密钥分组的密码