Home  >  Article  >  Backend Development  >  $cryptkey = $keya.md5($keya.$keyc);什么意思,该怎么处理

$cryptkey = $keya.md5($keya.$keyc);什么意思,该怎么处理

WBOY
WBOYOriginal
2016-06-13 10:12:251358browse

$cryptkey = $keya.md5($keya.$keyc);什么意思
$cryptkey = $keya.md5($keya.$keyc);什么意思
RT

------解决方案--------------------
也就是一个md5加密

------解决方案--------------------
囧~~
$cryptkey = $keya.md5($keya.$keyc);
先把$keya与$keyc连接起来。然后做md5加密,然后用$keya与这个加密结果连接起来,保存为最后的加密结果$cryptkey.
------解决方案--------------------
举个列子
$keya='12'
$keyc='3'
md5($keya.$keyc)=md5('12'.'3')=202cb962ac59075b964b07152d234b70
$keya.md5($keya.$keyc)=12202cb962ac59075b964b07152d234b70
所以
$cryptkey=$keya.md5($keya.$keyc)=12202cb962ac59075b964b07152d234b70

蹭分的,哈哈,2楼说的很对

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn