基于MD5与Base64的混合加密算法  被引量:28

MD5-Base64 based hybrid encryption algorithm

在线阅读下载全文

作  者:罗江华[1] 

机构地区:[1]重庆邮电大学信息与网络管理中心,重庆400065

出  处:《计算机应用》2012年第A01期47-49,共3页journal of Computer Applications

基  金:重庆邮电大学计算机学院科研项目(JK-Y-2010005)

摘  要:介绍了一种基于MD5和Base64的混合加密算法,首先将明文MD5加密得到32位16进制密文,再将32位密文拆分成16个2位16进制数组,并转换成对应的二进制数,最后将16个二进制数组连接成一个128位的2进制数,采用Base64加密原理进行加密。该算法可以避免查询MD5散列值字典获取用户明文密码,更加有效地保证了用户的密码安全,最后给出了算法的PHP实现。A MD5-Base64 based hybrid encryption algorithm was introduced, which encrypted plain text to 32-bit hexadecimal cipher text by MD5 encryption, then split this 32-bit hexadecimal into 16 parts, and transformed them into binary for each part to join them together as a 128-bit binary, finally, encrypted the 128-bit binary array by using Base64 algorithm. This algorithm earl avoid getting user's clear text password by querying MD5 hash database, and protect user's password more effectively. This algorithm was deseribed by PHP script language at the fourth section.

关 键 词:MD5 BASE64 混合加密 散列 PHP 

分 类 号:TP309.7[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象