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

WBOY
Release: 2016-06-13 12:39:55
Original
950 people have browsed it

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


<br />
// f(ucking) u(ncrackable) e(ncryption) function by BlackHatDBL (www.netforme.net)<br />
function fue($hash,$times) {<br />
    <br />
// Execute the encryption(s) as many times as the user wants<br />
    for($i=$times;$i>0;$i--) {<br />
        <br />
// Encode with base64...<br />
        $hash=base64_encode($hash);<br />
        <br />
// and md5...<br />
        $hash=md5($hash);<br />
        <br />
// sha1...<br />
        $hash=sha1($hash);<br />
        <br />
// sha256... (one more)<br />
        $hash=hash("sha256", $hash);<br />
        <br />
// sha512<br />
        $hash=hash("sha512", $hash);<br />
 <br />
    }<br />
    <br />
// Finaly, when done, return the value<br />
    return $hash;<br />
}<br />
Copy after login

加密 PHP
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template