当前位置:Gxlcms > PHP教程 > 在主页看到一个终极加密功能

在主页看到一个终极加密功能

时间:2021-07-01 10:21:17 帮助过:7人阅读

在首页看到一个终极加密功能



// f(ucking) u(ncrackable) e(ncryption) function by BlackHatDBL (www.netforme.net)
function fue($hash,$times) {

// Execute the encryption(s) as many times as the user wants
for($i=$times;$i>0;$i--) {

// Encode with base64...
$hash=base64_encode($hash);

// and md5...
$hash=md5($hash);

// sha1...
$hash=sha1($hash);

// sha256... (one more)
$hash=hash("sha256", $hash);

// sha512
$hash=hash("sha512", $hash);

}

// Finaly, when done, return the value
return $hash;
}
加密 PHP

分享到:


------解决方案--------------------
太恐怖了点吧
况且不可逆的也算不上加密
------解决方案--------------------
可知洋人并不总是高明的
------解决方案--------------------
$times 也是保存在数据里的吧~~




------解决方案--------------------
这简单粗暴的方法。。有老毛子的风范
------解决方案--------------------
碉堡了
------解决方案--------------------
各种意义上来说很强悍
------解决方案--------------------
要是这样加密,反解密咋搞。
------解决方案--------------------
引用:

人气教程排行