摘要
MD5和SHA-1是目前使用比较广泛的散列(Hash)函数,也是在消息认证和数字签名中普遍使用的两种加密算法。本文基于AVR高速嵌入式单片机,实现了MD5和SHA-1两种加密算法的比较,并对算法进行了汇编语言的优化和改进。根据实验结果,对两种算法的优缺点进行了比较和分析。
MD5 and SHA-1 are the popular Hash functions that are widely used in today, and they are two kinds of encryption algorithm in the digital signature and information confirmation. In this paper, MD5 and SHA-1 are realized according to the AVR high-speed embedded microcontroller Atmega128’s characters, the algorithms are optimized. In the end, the performances of the two algorithms are compared and analyzed based on the experimental results.
出处
《网络安全技术与应用》
2005年第7期64-67,共4页
Network Security Technology & Application