function ChangeMsg(msgu,msgp)
{
if(msgu!=”" && msgp!=”")
{
delmsg = md5(msgu);
rname = substr(delmsg,5,1).”,”.substr(delmsg,7,1).”,”.substr(delmsg,15,1).”,”.substr(delmsg,17,1);
rnamearray = explode(‘,’,rname);
rpass = md5(msgp);
r_msg = str_replace(rnamearray, “”, rpass);
}else{
r_msg = msgp;
}
return r_msg;
}
\n
可以在上面这段代码获得加密的密码 其实也就是用户名和密码同过md5()方法加密!
\n
来源:CSDN