PHP终极加密功能
时间:2021-07-01 10:21:17
帮助过:18人阅读
- // 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