摘要
Hash(杂凑)函数是密码学的一个重要分支,广泛应用于消息认证、数据完整性、数字签名等领域。但是随着密码技术的不断发展,特别是王小云教授在2005年美密会上公布了MD5、SHA-1的碰撞实例,证明MD5和SHA-1不安全的。2010年中国国家密码管理局公布了中国商用密码杂凑算法标准-SM3密码杂凑算法,广泛应用于电子认证服务系统。用MATLAB编写出SM3算法程序,并用GUI设计算法界面,界面对于任何输入消息均产生一个杂凑值,并计算所耗时间。实验表明本算法速度快且准确。最后对SM3算法主要攻击方法做了归纳并得出结论:目前SM3算法是安全的。
Hash function is an important branch of cryptography which is widely used in the message authentication, data integrity, digital signature and other fields. With the continuous development of the ciphergraph techniques especially the discovery of MD5,SHA - 1 collision instance by professor Wang Xiaoyun, on the 2005 meeting, proving that MD5 and SHA- 1 is not safe. In 2010 ,China Office of State Commercial Cryptography Administration published the commercial passwords hash algorithm standard - SM3 password hashing algorithm, the algorithm is designed by Wang Xiaoyun, Which is widely used in electronic certification service systems. This paper design SM3 algorithm program with MATLAB and interface with GUI. For any input message the interface which is fast and correct will create a hash value, and calculate the time consuming. In the end ,we summarize current main analysis method about SM3 and make the conclusion:the SM3 password hashing algorithm is safe now.
基金
国家自然科学基金面上项目(61070252)频率测度下离散混沌系统的高度伪随机性及其在信息安全中的新应用